summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@toblux.com>2024-06-03 21:00:07 +0300
committerMatthew Brost <matthew.brost@intel.com>2024-06-05 19:35:53 +0300
commitb3181f433206a1432bc7093d1896fe36026f7fff (patch)
tree0a916f6830ea44265efbea0414254f498aa1627a /tools/perf/scripts/python/syscall-counts.py
parentf6c823f9b9d40f6811a6da4bcf6005a52f28c6d6 (diff)
downloadlinux-b3181f433206a1432bc7093d1896fe36026f7fff.tar.xz
drm/xe/vm: Simplify if condition
The if condition !A || A && B can be simplified to !A || B. Fixes the following Coccinelle/coccicheck warning reported by excluded_middle.cocci: WARNING !A || A && B is equivalent to !A || B Compile-tested only. Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com> Reviewed-by: Matthew Brost <matthew.brost@intel.com> Signed-off-by: Matthew Brost <matthew.brost@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240603180005.191578-1-thorsten.blum@toblux.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions