commit | df9705eaa0bad034dad0f73386ff82f5c4dd7e24 | [log] [tgz] |
---|---|---|
author | Kui-Feng Lee <thinker.li@gmail.com> | Fri Feb 02 21:51:19 2024 -0800 |
committer | Martin KaFai Lau <martin.lau@kernel.org> | Mon Feb 05 10:25:08 2024 -0800 |
tree | 524621a4914a63253486e260a7d1ed7932108f7b | |
parent | 2a79690eae953daaac232f93e6c5ac47ac539f2d [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>