drm/amdgpu: Remove dead code in amdgpu_pm.c
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 23 Aug 2018 07:45:15 +0000 (15:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:11:22 +0000 (15:11 -0500)
commitf1df06d0f9bc8d2e9f0736a23b78d6db033460dc
treefdf1d9550e4ee5fffab7c2759869a09cd8c1836c
parente851abd830885c37c18183e36541d2fc11e3c674
drm/amdgpu: Remove dead code in amdgpu_pm.c

As we have unify powergate_uvd/vce/mmhub to set_powergating_by_smu,
and set_powergating_by_smu was supported by both dpm and powerplay.
so remove the else case.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c