aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/tracing_struct.c
diff options
context:
space:
mode:
authorKui-Feng Lee <[email protected]>2024-02-03 05:51:19 +0000
committerMartin KaFai Lau <[email protected]>2024-02-05 18:25:08 +0000
commitdf9705eaa0bad034dad0f73386ff82f5c4dd7e24 (patch)
tree524621a4914a63253486e260a7d1ed7932108f7b /tools/testing/selftests/bpf/prog_tests/tracing_struct.c
parentMerge branch 'two-small-fixes-for-global-subprog-tagging' (diff)
downloadkernel-df9705eaa0bad034dad0f73386ff82f5c4dd7e24.tar.gz
kernel-df9705eaa0bad034dad0f73386ff82f5c4dd7e24.zip
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 <[email protected]> Acked-by: Yonghong Song <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin KaFai Lau <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/tracing_struct.c')
0 files changed, 0 insertions, 0 deletions