diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-06-03 20:00:07 +0200 |
---|---|---|
committer | Matthew Brost <matthew.brost@intel.com> | 2024-06-05 09:35:53 -0700 |
commit | b3181f433206a1432bc7093d1896fe36026f7fff (patch) | |
tree | 0a916f6830ea44265efbea0414254f498aa1627a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | f6c823f9b9d40f6811a6da4bcf6005a52f28c6d6 (diff) |
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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions