diff options
| -rw-r--r-- | drivers/cpufreq/intel_pstate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index aebd4572eb6d..4e7f492ad583 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
| @@ -691,14 +691,8 @@ MODULE_DEVICE_TABLE(x86cpu, intel_pstate_cpu_ids); | |||
| 691 | 691 | ||
| 692 | static int intel_pstate_init_cpu(unsigned int cpunum) | 692 | static int intel_pstate_init_cpu(unsigned int cpunum) |
| 693 | { | 693 | { |
| 694 | |||
| 695 | const struct x86_cpu_id *id; | ||
| 696 | struct cpudata *cpu; | 694 | struct cpudata *cpu; |
| 697 | 695 | ||
| 698 | id = x86_match_cpu(intel_pstate_cpu_ids); | ||
| 699 | if (!id) | ||
| 700 | return -ENODEV; | ||
| 701 | |||
| 702 | all_cpu_data[cpunum] = kzalloc(sizeof(struct cpudata), GFP_KERNEL); | 696 | all_cpu_data[cpunum] = kzalloc(sizeof(struct cpudata), GFP_KERNEL); |
| 703 | if (!all_cpu_data[cpunum]) | 697 | if (!all_cpu_data[cpunum]) |
| 704 | return -ENOMEM; | 698 | return -ENOMEM; |
