diff options
| author | Thorsten Blum <[email protected]> | 2024-06-04 10:37:37 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-14 19:20:47 +0000 |
| commit | 4aa1f202519f6a837376efc87fae4a0ecc97f40b (patch) | |
| tree | 9fa6d047d8e79355574719e7d290d5584654a8bc /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
| parent | drm/amd/display: Extend PSRSU residency mode (diff) | |
| download | kernel-4aa1f202519f6a837376efc87fae4a0ecc97f40b.tar.gz kernel-4aa1f202519f6a837376efc87fae4a0ecc97f40b.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions
