aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
diff options
context:
space:
mode:
authorAlex Hung <[email protected]>2024-09-18 15:33:27 -0600
committerAlex Deucher <[email protected]>2024-10-01 17:37:33 -0400
commit28d2a14ac0a3ff4143d3cbb265a7ce4801f396d3 (patch)
treef42c12eaf16462171ddeb84bb9d0997f3c2d1894 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c
parent70d98a20386e778177c3c3d0baa1a5fa9e60f2ae (diff)
drm/amd/display: Remove always-false branches
[WHAT & HOW] MacroTileSizeBytes is set to either 256 or 65535 and it is never 4096. Its branch is not taken, and should be removed. Similarly, mode_422 is always 0 and thus ppe will always be 1. The ternary operator should be removed. This fixes 2 DEADCODE issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Alex Hung <[email protected]> Signed-off-by: Fangzhi Zuo <[email protected]> Tested-by: Daniel Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.c')
0 files changed, 0 insertions, 0 deletions