diff options
author | 2024-06-03 20:00:07 +0200 | |
---|---|---|
committer | 2024-06-05 09:35:53 -0700 | |
commit | b3181f433206a1432bc7093d1896fe36026f7fff (patch) | |
tree | 0a916f6830ea44265efbea0414254f498aa1627a /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | drm/xe: drop redundant W=1 warnings from Makefile (diff) | |
download | wireguard-linux-b3181f433206a1432bc7093d1896fe36026f7fff.tar.xz wireguard-linux-b3181f433206a1432bc7093d1896fe36026f7fff.zip |
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/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions