Remove unused function rv770_dpm_reset_asic() from file
drm/radeon/rv770_dpm.c.

This eliminates the following warning in drm/radeon/rv770_dpm.c:
drivers/gpu/drm/radeon/rv770_dpm.c:2070:6: warning: no previous prototype for 
?rv770_dpm_reset_asic? [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria at gmail.com>
Reviewed-by: Josh Triplett <josh at joshtriplett.org>
---
 drivers/gpu/drm/radeon/rv770_dpm.c |   13 -------------
 1 file changed, 13 deletions(-)

diff --git a/drivers/gpu/drm/radeon/rv770_dpm.c 
b/drivers/gpu/drm/radeon/rv770_dpm.c
index cd22549..9c4cf11 100644
--- a/drivers/gpu/drm/radeon/rv770_dpm.c
+++ b/drivers/gpu/drm/radeon/rv770_dpm.c
@@ -2068,19 +2068,6 @@ int rv770_dpm_set_power_state(struct radeon_device *rdev)
        return 0;
 }

-void rv770_dpm_reset_asic(struct radeon_device *rdev)
-{
-       struct rv7xx_power_info *pi = rv770_get_pi(rdev);
-       struct radeon_ps *boot_ps = rdev->pm.dpm.boot_ps;
-
-       rv770_restrict_performance_levels_before_switch(rdev);
-       if (pi->dcodt)
-               rv770_program_dcodt_before_state_switch(rdev, boot_ps, boot_ps);
-       rv770_set_boot_state(rdev);
-       if (pi->dcodt)
-               rv770_program_dcodt_after_state_switch(rdev, boot_ps, boot_ps);
-}
-
 void rv770_dpm_setup_asic(struct radeon_device *rdev)
 {
        struct rv7xx_power_info *pi = rv770_get_pi(rdev);
-- 
1.7.9.5

Reply via email to