From 14641ac4ebfbef47f183d5610f0e31affb9ba187 Mon Sep 17 00:00:00 2001 From: Rex Zhu Date: Thu, 11 May 2017 14:05:27 +0800 Subject: [PATCH] drm/amd/powerplay: delete dead code in vega10_thermal.c Signed-off-by: Rex Zhu Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c index d5f53d04fa08..7bb4e4634ce3 100644 --- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c +++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_thermal.c @@ -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; } -- GitLab