summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_idle.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-07-17 22:16:04 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-17 22:16:04 +0200
commitaa713cc3b22ccd24dc55df4e0770490781fe6a76 (patch)
treed8c3a951edc2779c50d6922b7de4307a8e4d4782 /drivers/acpi/processor_idle.c
parentcpuidle / ACPI: remove usage from acpi_processor_cx structure (diff)
downloadlinux-aa713cc3b22ccd24dc55df4e0770490781fe6a76.tar.xz
linux-aa713cc3b22ccd24dc55df4e0770490781fe6a76.zip
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>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r--drivers/acpi/processor_idle.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index f355f1a1c211..4cf964803d7a 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;
}