diff options
| author | Baolin Wang <baolin.wang@linux.alibaba.com> | 2020-09-02 04:45:25 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-09-02 04:48:06 +0300 |
| commit | 265600b7b6e88f3cc4cef2774afe0eb4abe72d72 (patch) | |
| tree | 75654937e6130a4deb47548e054634abee64dc9e /tools/perf/scripts/python/check-perf-trace.py | |
| parent | 8327cce5ff9376fac9ff713a8d5c99c16ba3fa33 (diff) | |
| download | linux-265600b7b6e88f3cc4cef2774afe0eb4abe72d72.tar.xz | |
block: Remove a duplicative condition
Remove a duplicative condition to remove below cppcheck warnings:
"warning: Redundant condition: sched_allow_merge. '!A || (A && B)' is
equivalent to '!A || B' [redundantCondition]"
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
