diff options
author | Thorsten Blum <thorsten.blum@toblux.com> | 2024-06-04 12:37:37 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 15:20:47 -0400 |
commit | 4aa1f202519f6a837376efc87fae4a0ecc97f40b (patch) | |
tree | 9fa6d047d8e79355574719e7d290d5584654a8bc /drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | |
parent | f1934de46f2b259a87565407a5f2163d66e41092 (diff) |
drm/amd/display: Simplify if conditions
The if conditions !A || A && B can be simplified to !A || B.
Fixes the following Coccinelle/coccicheck warnings reported by
excluded_middle.cocci:
WARNING !A || A && B is equivalent to !A || B
WARNING !A || A && B is equivalent to !A || B
WARNING !A || A && B is equivalent to !A || B
Compile-tested only.
Signed-off-by: Thorsten Blum <thorsten.blum@toblux.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c')
0 files changed, 0 insertions, 0 deletions