On 10/10/23 9:00 AM, zhujun2 wrote:
These variables are never referenced in the code, just remove them. Signed-off-by: zhujun2 <zhujun2@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/bpf/prog_tests/atomic_bounds.c | 1 - tools/testing/selftests/bpf/prog_tests/kfree_skb.c | 2 -- tools/testing/selftests/bpf/prog_tests/perf_branches.c | 6 +----- .../testing/selftests/bpf/prog_tests/probe_read_user_str.c | 4 ++-- tools/testing/selftests/bpf/prog_tests/test_overhead.c | 4 ++-- tools/testing/selftests/bpf/prog_tests/xdp_synproxy.c | 1 - 6 files changed, 5 insertions(+), 13 deletions(-)
You did not even try to compile-test it, otherwise you would have noticed that the build fails after your patches..