aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/qcom-cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/qcom-cpufreq.c')
-rw-r--r--drivers/cpufreq/qcom-cpufreq.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/cpufreq/qcom-cpufreq.c b/drivers/cpufreq/qcom-cpufreq.c
index b71f39cb185..9bb76429935 100644
--- a/drivers/cpufreq/qcom-cpufreq.c
+++ b/drivers/cpufreq/qcom-cpufreq.c
@@ -244,17 +244,13 @@ static int msm_cpufreq_suspend(void)
static int msm_cpufreq_resume(void)
{
- int cpu;
-#ifndef CONFIG_CPU_BOOST
- int ret;
+ int cpu, ret;
struct cpufreq_policy policy;
-#endif
for_each_possible_cpu(cpu) {
per_cpu(cpufreq_suspend, cpu).device_suspended = 0;
}
-#ifndef CONFIG_CPU_BOOST
/*
* Freq request might be rejected during suspend, resulting
* in policy->cur violating min/max constraint.
@@ -276,7 +272,6 @@ static int msm_cpufreq_resume(void)
cpu);
}
put_online_cpus();
-#endif
return NOTIFY_DONE;
}