aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2024-06-14 19:10:40 -0600
committerAlex Deucher <alexander.deucher@amd.com>2024-06-27 17:10:38 -0400
commit4de670dcdef04feee864a110dd6c1737f29f6dd0 (patch)
treec5f32e733a3d5e48b6880e096ce6dae36fdc5b4c /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent673f816b9e1e92d1f70e1bf5f21b531e0ff9ad6c (diff)
drm/amd/display: Remove always true condition
[WHAT & HOW] advanced_pstate_switching was initialized to false and never assigned to another value; as a result !advanced_pstate_switching is always true and should be removed. This fixes 2 DEADCODE issues reported by Coverity. Reviewed-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions