diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-03-03 10:52:10 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2021-03-05 06:25:31 +0300 |
| commit | bce8623135fbe54bd86797df72cb85bfe4118b6e (patch) | |
| tree | 68d4bd7bc8deccd1af888719acddd5ba80025a27 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 46ac034f769fcd50d3d554041a3879a0cdf2ee57 (diff) | |
| download | linux-bce8623135fbe54bd86797df72cb85bfe4118b6e.tar.xz | |
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 <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/1614757930-17197-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
