diff options
author | 2021-03-03 15:20:35 +0800 | |
---|---|---|
committer | 2021-03-04 19:24:53 -0800 | |
commit | 46ac034f769fcd50d3d554041a3879a0cdf2ee57 (patch) | |
tree | f31295878e123ad20e0057e8670aee185f9a7b04 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'PROG_TEST_RUN support for sk_lookup programs' (diff) | |
download | wireguard-linux-46ac034f769fcd50d3d554041a3879a0cdf2ee57.tar.xz wireguard-linux-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 <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/1614756035-111280-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions