aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
diff options
context:
space:
mode:
authorKui-Feng Lee <thinker.li@gmail.com>2024-02-02 21:51:19 -0800
committerMartin KaFai Lau <martin.lau@kernel.org>2024-02-05 10:25:08 -0800
commitdf9705eaa0bad034dad0f73386ff82f5c4dd7e24 (patch)
tree524621a4914a63253486e260a7d1ed7932108f7b /tools/testing/selftests/bpf/prog_tests/stacktrace_map.c
parent2a79690eae953daaac232f93e6c5ac47ac539f2d (diff)
bpf: Remove an unnecessary check.
The "i" here is always equal to "btf_type_vlen(t)" since the "for_each_member()" loop never breaks. Signed-off-by: Kui-Feng Lee <thinker.li@gmail.com> Acked-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/r/20240203055119.2235598-1-thinker.li@gmail.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/stacktrace_map.c')
0 files changed, 0 insertions, 0 deletions