aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/subprogs_extable.c
diff options
context:
space:
mode:
authorRafael Passos <rafael@rcpassos.me>2024-06-14 23:24:10 -0300
committerAlexei Starovoitov <ast@kernel.org>2024-06-20 19:50:26 -0700
commit21ab4980e02d495174bc64c00ceb4d3cf87fadb1 (patch)
tree008909b701e35b7a7c65c468684f2e7ca18235fe /tools/testing/selftests/bpf/prog_tests/subprogs_extable.c
parentab224b9ef7c4eaa752752455ea79bd7022209d5d (diff)
bpf: remove redeclaration of new_n in bpf_verifier_vlog
This new_n is defined in the start of this function. Its value is overwritten by `new_n = min(n, log->len_total);` a couple lines before my change, rendering the shadow declaration unnecessary. Signed-off-by: Rafael Passos <rafael@rcpassos.me> Link: https://lore.kernel.org/r/20240615022641.210320-4-rafael@rcpassos.me Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/subprogs_extable.c')
0 files changed, 0 insertions, 0 deletions