diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-07-17 22:16:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-17 22:16:00 +0200 |
commit | 53b70951d9ef68420775b69e59ba720cc15c2643 (patch) | |
tree | dd3b917af62e08b5a2017b7cb31832237c2e6b1f /drivers/acpi/processor_idle.c | |
parent | 64d45f07b433090ee1329cf74989d973875028cb (diff) | |
download | linux-53b70951d9ef68420775b69e59ba720cc15c2643.tar.gz linux-53b70951d9ef68420775b69e59ba720cc15c2643.tar.bz2 linux-53b70951d9ef68420775b69e59ba720cc15c2643.zip |
cpuidle / ACPI: remove usage from acpi_processor_cx structure
Remove the usage field as it is not used.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index b0d2bbe59096..f355f1a1c211 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -760,7 +760,6 @@ static int acpi_idle_enter_c1(struct cpuidle_device *dev, dev->last_residency = (int)idle_time; local_irq_enable(); - cx->usage++; lapic_timer_state_broadcast(pr, cx, 0); return index; @@ -863,8 +862,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev, if (cx->entry_method != ACPI_CSTATE_FFH) current_thread_info()->status |= TS_POLLING; - cx->usage++; - lapic_timer_state_broadcast(pr, cx, 0); cx->time += idle_time; return index; @@ -984,8 +981,6 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, if (cx->entry_method != ACPI_CSTATE_FFH) current_thread_info()->status |= TS_POLLING; - cx->usage++; - lapic_timer_state_broadcast(pr, cx, 0); cx->time += idle_time; return index; |