diff options
| author | Jiapeng Chong <[email protected]> | 2021-02-09 08:46:38 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-02-10 20:14:27 +0000 |
| commit | bd2d4e6c6e9f0186967252e8c7ab29a23c3db9cf (patch) | |
| tree | eb142c353c340f0f5afbb3b28f339894a9b4ecc9 /tools/testing/selftests/bpf/prog_tests/recursion.c | |
| parent | selftests/bpf: Fix endianness issues in atomic tests (diff) | |
| download | kernel-bd2d4e6c6e9f0186967252e8c7ab29a23c3db9cf.tar.gz kernel-bd2d4e6c6e9f0186967252e8c7ab29a23c3db9cf.zip | |
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/recursion.c')
0 files changed, 0 insertions, 0 deletions
