Remove the function trinity_dpm_reset_asic() that is not used anywhere. This was partially found by using a static code analysis program called cppcheck.
Signed-off-by: Rickard Strandqvist <rickard_strandqv...@spectrumdigital.se> --- drivers/gpu/drm/radeon/trinity_dpm.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/drivers/gpu/drm/radeon/trinity_dpm.c b/drivers/gpu/drm/radeon/trinity_dpm.c index b4ec5c4..7428da0 100644 --- a/drivers/gpu/drm/radeon/trinity_dpm.c +++ b/drivers/gpu/drm/radeon/trinity_dpm.c @@ -1269,22 +1269,6 @@ void trinity_dpm_setup_asic(struct radeon_device *rdev) trinity_release_mutex(rdev); } -void trinity_dpm_reset_asic(struct radeon_device *rdev) -{ - struct trinity_power_info *pi = trinity_get_pi(rdev); - - trinity_acquire_mutex(rdev); - if (pi->enable_dpm) { - trinity_enable_power_level_0(rdev); - trinity_force_level_0(rdev); - trinity_wait_for_level_0(rdev); - trinity_program_bootup_state(rdev); - trinity_force_level_0(rdev); - trinity_unforce_levels(rdev); - } - trinity_release_mutex(rdev); -} - static u16 trinity_convert_voltage_index_to_value(struct radeon_device *rdev, u32 vid_2bit) { -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/