Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/amdgpu: remove unused functions

Remove unused amdgpu_xgmi_hive_try_lock() and smu7_reset_asic_tasks().

Signed-off-by: Nirmoy Das <nirmoy.das@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Nirmoy Das and committed by
Alex Deucher
683fc63d 4072327a

-11
-5
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c
··· 144 144 SOC15_REG_FIELD(PCS_GOPX1_0_PCS_GOPX1_PCS_ERROR_STATUS, RecoveryRelockAttemptErr)}, 145 145 }; 146 146 147 - void *amdgpu_xgmi_hive_try_lock(struct amdgpu_hive_info *hive) 148 - { 149 - return &hive->device_list; 150 - } 151 - 152 147 /** 153 148 * DOC: AMDGPU XGMI Support 154 149 *
-6
drivers/gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c
··· 1548 1548 return result; 1549 1549 } 1550 1550 1551 - int smu7_reset_asic_tasks(struct pp_hwmgr *hwmgr) 1552 - { 1553 - 1554 - return 0; 1555 - } 1556 - 1557 1551 static void smu7_init_dpm_defaults(struct pp_hwmgr *hwmgr) 1558 1552 { 1559 1553 struct smu7_hwmgr *data = (struct smu7_hwmgr *)(hwmgr->backend);