Commit 73f1ae8ab08b4972052de7d0358f031ce0343fff

Authored by Gabriele Mazzotta
Committed by Rafael J. Wysocki
1 parent 69e273c0b0

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>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

drivers/cpufreq/intel_pstate.c
... ... @@ -708,10 +708,6 @@
708 708  
709 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 711 if (!policy->cpuinfo.max_freq)
716 712 return -ENODEV;
717 713