drm/amdgpu: remove dead code in amdgpu_vpe_configure_dpm
Subsystems (2)
PATCH 7/12 drm/amdgpu: remove dead code in amdgpu_vpe_configure_dpm
When switching on idx, the value of idx must be between 0 and 3. The switch governing value idx cannot reach the default case.
Signed-off-by Jesse Zhang <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c | 2 -- 1 file changed, 2 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_vpe.c +0 -2
@@ -183,8 +183,6 @@ int amdgpu_vpe_configure_dpm(struct amdgpu_vpe *vpe)case 3 : pratio_vmax_freq = min_freq;break ; -default : -break ; } }
Signature · 1 line
2.25.1