diff options
author | Gabriele Mazzotta <gabriele.mzt@gmail.com> | 2014-09-01 14:23:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-03 01:31:04 +0200 |
commit | 73f1ae8ab08b4972052de7d0358f031ce0343fff (patch) | |
tree | 9cdcbaa869d632699e9ab99965881b103fba8530 | |
parent | 69e273c0b0a3c337a521d083374c918dc52c666f (diff) | |
download | linux-stable-73f1ae8ab08b4972052de7d0358f031ce0343fff.tar.gz linux-stable-73f1ae8ab08b4972052de7d0358f031ce0343fff.tar.bz2 linux-stable-73f1ae8ab08b4972052de7d0358f031ce0343fff.zip |
cpufreq: intel_pstate: Remove unneeded variable
It should have been removed with commit d1b6848590af
("cpufreq / intel_pstate: Optimize intel_pstate_set_policy")
Signed-off-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-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) static int intel_pstate_set_policy(struct cpufreq_policy *policy) { - struct cpudata *cpu; - - cpu = all_cpu_data[policy->cpu]; - if (!policy->cpuinfo.max_freq) return -ENODEV; |