From: Alex Deucher Date: Mon, 21 May 2018 15:16:28 +0000 (-0500) Subject: drm/amdgpu/pp: remove duplicate assignment X-Git-Tag: rel_imx_4.19.35_1.1.0~9872^2~6^2~2 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=bf20f0ab544d8982af375c87e3d870d45237eecc;p=linux.git drm/amdgpu/pp: remove duplicate assignment is_dpm_running callback was assigned to the same value twice. Drop the duplicate. Reviewed-by: Michel Dänzer Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c index a40f7141131c..2de48959ac93 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c @@ -2379,6 +2379,5 @@ const struct pp_smumgr_func vegam_smu_funcs = { .update_sclk_threshold = vegam_update_sclk_threshold, .is_hw_avfs_present = vegam_is_hw_avfs_present, .thermal_avfs_enable = vegam_thermal_avfs_enable, - .is_dpm_running = vegam_is_dpm_running, .thermal_setup_fan_table = vegam_thermal_setup_fan_table, };