OSDN Git Service

drm/amdgpu/pp: remove duplicate assignment
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 21 May 2018 15:16:28 +0000 (10:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 24 May 2018 15:07:55 +0000 (10:07 -0500)
is_dpm_running callback was assigned to the same value
twice.  Drop the duplicate.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/vegam_smumgr.c

index a40f714..2de4895 100644 (file)
@@ -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,
 };