diff --git a/arch/arm/mach-msm/pm2.c b/arch/arm/mach-msm/pm2.c index 2bc54a59a..239d865f3 100644 --- a/arch/arm/mach-msm/pm2.c +++ b/arch/arm/mach-msm/pm2.c @@ -29,9 +29,6 @@ #include #include #include -#ifdef CONFIG_HAS_WAKELOCK -#include -#endif #include #include #include @@ -1499,9 +1496,6 @@ void arch_idle(void) } if ((timer_expiration < msm_pm_idle_sleep_min_time) || -#ifdef CONFIG_HAS_WAKELOCK - has_wake_lock(WAKE_LOCK_IDLE) || -#endif !msm_irq_idle_sleep_allowed()) { allow[MSM_PM_SLEEP_MODE_POWER_COLLAPSE] = false; allow[MSM_PM_SLEEP_MODE_POWER_COLLAPSE_NO_XO_SHUTDOWN] = false;