drm/amd/powerplay: delete dead code in vega10_thermal.c
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 11 May 2017 06:05:27 +0000 (14:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:42 +0000 (17:39 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c

index d5f53d04fa08c30a4053aa9fd07b04c795177e4e..7bb4e4634ce35938c1707ead1902dda8598a44ef 100644 (file)
@@ -439,9 +439,6 @@ static int vega10_thermal_set_temperature_range(struct pp_hwmgr *hwmgr,
 
        cgs_write_register(hwmgr->device, reg, val);
 
-       reg = soc15_get_register_offset(THM_HWID, 0,
-                       mmTHM_TCON_HTC_BASE_IDX, mmTHM_TCON_HTC);
-
        return 0;
 }