diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-07-17 16:16:00 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-17 16:16:00 -0400 |
commit | 53b70951d9ef68420775b69e59ba720cc15c2643 (patch) | |
tree | dd3b917af62e08b5a2017b7cb31832237c2e6b1f /drivers/acpi/processor_idle.c | |
parent | 64d45f07b433090ee1329cf74989d973875028cb (diff) |
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, | |||
760 | dev->last_residency = (int)idle_time; | 760 | dev->last_residency = (int)idle_time; |
761 | 761 | ||
762 | local_irq_enable(); | 762 | local_irq_enable(); |
763 | cx->usage++; | ||
764 | lapic_timer_state_broadcast(pr, cx, 0); | 763 | lapic_timer_state_broadcast(pr, cx, 0); |
765 | 764 | ||
766 | return index; | 765 | return index; |
@@ -863,8 +862,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev, | |||
863 | if (cx->entry_method != ACPI_CSTATE_FFH) | 862 | if (cx->entry_method != ACPI_CSTATE_FFH) |
864 | current_thread_info()->status |= TS_POLLING; | 863 | current_thread_info()->status |= TS_POLLING; |
865 | 864 | ||
866 | cx->usage++; | ||
867 | |||
868 | lapic_timer_state_broadcast(pr, cx, 0); | 865 | lapic_timer_state_broadcast(pr, cx, 0); |
869 | cx->time += idle_time; | 866 | cx->time += idle_time; |
870 | return index; | 867 | return index; |
@@ -984,8 +981,6 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, | |||
984 | if (cx->entry_method != ACPI_CSTATE_FFH) | 981 | if (cx->entry_method != ACPI_CSTATE_FFH) |
985 | current_thread_info()->status |= TS_POLLING; | 982 | current_thread_info()->status |= TS_POLLING; |
986 | 983 | ||
987 | cx->usage++; | ||
988 | |||
989 | lapic_timer_state_broadcast(pr, cx, 0); | 984 | lapic_timer_state_broadcast(pr, cx, 0); |
990 | cx->time += idle_time; | 985 | cx->time += idle_time; |
991 | return index; | 986 | return index; |