aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorJiapeng Chong <[email protected]>2021-02-09 16:46:38 +0800
committerAndrii Nakryiko <[email protected]>2021-02-10 12:14:27 -0800
commitbd2d4e6c6e9f0186967252e8c7ab29a23c3db9cf (patch)
treeeb142c353c340f0f5afbb3b28f339894a9b4ecc9 /tools/testing/selftests/bpf/prog_tests/autoload.c
parent45df3052682564327acc0a0fdb0f9adc3a27a50b (diff)
selftests/bpf: Simplify the calculation of variables
Fix the following coccicheck warnings: ./tools/testing/selftests/bpf/xdpxceiver.c:954:28-30: WARNING !A || A && B is equivalent to !A || B. ./tools/testing/selftests/bpf/xdpxceiver.c:932:28-30: WARNING !A || A && B is equivalent to !A || B. ./tools/testing/selftests/bpf/xdpxceiver.c:909:28-30: WARNING !A || A && B is equivalent to !A || B. Reported-by: Abaci Robot <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/1612860398-102839-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions