diff options
| author | Jiapeng Chong <[email protected]> | 2021-03-03 07:20:35 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2021-03-05 03:24:53 +0000 |
| commit | 46ac034f769fcd50d3d554041a3879a0cdf2ee57 (patch) | |
| tree | f31295878e123ad20e0057e8670aee185f9a7b04 /scripts/bpf_doc.py | |
| parent | Merge branch 'PROG_TEST_RUN support for sk_lookup programs' (diff) | |
| download | kernel-46ac034f769fcd50d3d554041a3879a0cdf2ee57.tar.gz kernel-46ac034f769fcd50d3d554041a3879a0cdf2ee57.zip | |
bpf: Simplify the calculation of variables
Fix the following coccicheck warnings:
./tools/bpf/bpf_dbg.c:1201:55-57: 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/1614756035-111280-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
