Skip to content

Commit

Permalink
cpufreq: intel_pstate: Remove unneeded variable
Browse files Browse the repository at this point in the history
It should have been removed with commit d1b6848
("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>
  • Loading branch information
Gabriele Mazzotta authored and Rafael J. Wysocki committed Sep 2, 2014
1 parent 69e273c commit 73f1ae8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/cpufreq/intel_pstate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 73f1ae8

Please sign in to comment.