From: Kevin Wang Date: Tue, 19 Mar 2019 03:00:41 +0000 (+0800) Subject: drm/amd/powerplay: remove duplicate code from smu hw init X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=5586348236f81de739f8d818a305d7034651bb00;p=linux.git drm/amd/powerplay: remove duplicate code from smu hw init remove duplicate code (un-used) in smu Signed-off-by: Kevin Wang Reviewed-by: Xiaojie Yuan Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c index 2de67e16e5e34..a48ca6a4353c3 100644 --- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c @@ -637,10 +637,6 @@ static int smu_smc_table_hw_init(struct smu_context *smu, if (ret) return ret; - ret = smu_get_clk_info_from_vbios(smu); - if (ret) - return ret; - /* * check if the format_revision in vbios is up to pptable header * version, and the structure size is not 0.