diff options
-rw-r--r-- | drivers/cpuidle/cpuidle-cps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpuidle/cpuidle-cps.c b/drivers/cpuidle/cpuidle-cps.c index 926ba9871c62..12b9145913de 100644 --- a/drivers/cpuidle/cpuidle-cps.c +++ b/drivers/cpuidle/cpuidle-cps.c | |||
@@ -118,7 +118,7 @@ static void __init cps_cpuidle_unregister(void) | |||
118 | 118 | ||
119 | static int __init cps_cpuidle_init(void) | 119 | static int __init cps_cpuidle_init(void) |
120 | { | 120 | { |
121 | int err, cpu, core, i; | 121 | int err, cpu, i; |
122 | struct cpuidle_device *device; | 122 | struct cpuidle_device *device; |
123 | 123 | ||
124 | /* Detect supported states */ | 124 | /* Detect supported states */ |
@@ -160,7 +160,6 @@ static int __init cps_cpuidle_init(void) | |||
160 | } | 160 | } |
161 | 161 | ||
162 | for_each_possible_cpu(cpu) { | 162 | for_each_possible_cpu(cpu) { |
163 | core = cpu_data[cpu].core; | ||
164 | device = &per_cpu(cpuidle_dev, cpu); | 163 | device = &per_cpu(cpuidle_dev, cpu); |
165 | device->cpu = cpu; | 164 | device->cpu = cpu; |
166 | #ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED | 165 | #ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED |