Re: [PATCH] selftests: bpf: remove unused variables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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..



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux