mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
cpuidle / ACPI: remove usage from acpi_processor_cx structure
Remove the usage field as it is not used. Signed-off-by: Daniel Lezcano <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
64d45f07b4
commit
53b70951d9
2 changed files with 0 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue