diff options
author | William Zhang <[email protected]> | 2023-03-06 17:20:04 -0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-03-07 13:58:41 +0000 |
commit | 20064c47f63e995216e0dfb0a6ea37b653ed534c (patch) | |
tree | dcba6ea2a57a7e7a74e0ecf37b92bc273c99d519 /tools/perf/scripts/python/check-perf-trace.py | |
parent | dc2eb79496322d5f4790d38776c487bf7aa69be3 (diff) |
spi: Fix cocci warnings
cocci reported warning: !A || A && B is equivalent to !A || B. This fix
simplified the condition check to !A || B.
Fixes: 76a85704cb91 ("spi: spi-mem: Allow controller supporting mem_ops without exec_op")
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: William Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions