aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorThorsten Blum <[email protected]>2024-06-03 18:00:07 +0000
committerMatthew Brost <[email protected]>2024-06-05 16:35:53 +0000
commitb3181f433206a1432bc7093d1896fe36026f7fff (patch)
tree0a916f6830ea44265efbea0414254f498aa1627a /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/xe: drop redundant W=1 warnings from Makefile (diff)
downloadkernel-b3181f433206a1432bc7093d1896fe36026f7fff.tar.gz
kernel-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 <[email protected]> Reviewed-by: Matthew Brost <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions