diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-07-17 22:16:04 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-07-17 22:16:04 +0200 |
commit | aa713cc3b22ccd24dc55df4e0770490781fe6a76 (patch) | |
tree | d8c3a951edc2779c50d6922b7de4307a8e4d4782 | |
parent | 53b70951d9ef68420775b69e59ba720cc15c2643 (diff) | |
download | op-kernel-dev-aa713cc3b22ccd24dc55df4e0770490781fe6a76.zip op-kernel-dev-aa713cc3b22ccd24dc55df4e0770490781fe6a76.tar.gz |
cpuilde / ACPI: remove time from acpi_processor_cx structure
Remove the time field as it is not used.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 | ||||
-rw-r--r-- | include/acpi/processor.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index f355f1a..4cf9648 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -863,7 +863,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev, current_thread_info()->status |= TS_POLLING; lapic_timer_state_broadcast(pr, cx, 0); - cx->time += idle_time; return index; } @@ -982,7 +981,6 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, current_thread_info()->status |= TS_POLLING; lapic_timer_state_broadcast(pr, cx, 0); - cx->time += idle_time; return index; } diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 022b2e8..c72a801 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -60,7 +60,6 @@ struct acpi_processor_cx { u8 index; u32 latency; u32 power; - u64 time; u8 bm_sts_skip; char desc[ACPI_CX_DESC_LEN]; }; |