diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-02-09 16:46:38 +0800 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-02-10 12:14:27 -0800 |
commit | bd2d4e6c6e9f0186967252e8c7ab29a23c3db9cf (patch) | |
tree | eb142c353c340f0f5afbb3b28f339894a9b4ecc9 /kernel/power | |
parent | 45df3052682564327acc0a0fdb0f9adc3a27a50b (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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1612860398-102839-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions