rockchip: Remove unused rockchip_pd_pwr_down_wfi function
authorPaul Kocialkowski <contact@paulk.fr>
Tue, 4 Apr 2017 17:15:56 +0000 (19:15 +0200)
committerPaul Kocialkowski <contact@paulk.fr>
Tue, 4 Apr 2017 22:55:57 +0000 (00:55 +0200)
The rockchip_pd_pwr_down_wfi function is currently unused, which may
trigger compiler warnings or errors. Remove it.

Change-Id: I7e1b0ae092e8855528ac2065ecefc8bd45305f31
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
plat/rockchip/common/plat_pm.c

index 09c5397cd0e8afe6ae10b5953c6607be8a689895..2d4dc99afc760fe2ef8a02f66538ac0a2343f36e 100644 (file)
@@ -391,15 +391,6 @@ static void __dead2 rockchip_system_poweroff(void)
        rockchip_soc_system_off();
 }
 
-static void __dead2 rockchip_pd_pwr_down_wfi(
-               const psci_power_state_t *target_state)
-{
-       if (RK_SYSTEM_PWR_STATE(target_state) == PLAT_MAX_OFF_STATE)
-               rockchip_soc_sys_pd_pwr_dn_wfi();
-       else
-               rockchip_soc_cores_pd_pwr_dn_wfi(target_state);
-}
-
 /*******************************************************************************
  * Export the platform handlers via plat_rockchip_psci_pm_ops. The rockchip
  * standard