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 Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux