diff options
| author | Jiapeng Chong <[email protected]> | 2021-03-03 07:52:10 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-03-05 03:25:31 +0000 |
| commit | bce8623135fbe54bd86797df72cb85bfe4118b6e (patch) | |
| tree | 68d4bd7bc8deccd1af888719acddd5ba80025a27 /scripts/bpf_doc.py | |
| parent | bpf: Simplify the calculation of variables (diff) | |
| download | kernel-bce8623135fbe54bd86797df72cb85bfe4118b6e.tar.gz kernel-bce8623135fbe54bd86797df72cb85bfe4118b6e.zip | |
selftests/bpf: Simplify the calculation of variables
Fix the following coccicheck warnings:
./tools/testing/selftests/bpf/test_sockmap.c:735:35-37: 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: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/1614757930-17197-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
