diff options
Diffstat (limited to 'drivers/cpufreq/intel_pstate.c')
-rw-r--r-- | drivers/cpufreq/intel_pstate.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index e396ad3f8f3f..0668b389c516 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
@@ -708,10 +708,6 @@ static unsigned int intel_pstate_get(unsigned int cpu_num) | |||
708 | 708 | ||
709 | static int intel_pstate_set_policy(struct cpufreq_policy *policy) | 709 | static int intel_pstate_set_policy(struct cpufreq_policy *policy) |
710 | { | 710 | { |
711 | struct cpudata *cpu; | ||
712 | |||
713 | cpu = all_cpu_data[policy->cpu]; | ||
714 | |||
715 | if (!policy->cpuinfo.max_freq) | 711 | if (!policy->cpuinfo.max_freq) |
716 | return -ENODEV; | 712 | return -ENODEV; |
717 | 713 | ||