cpuilde / ACPI: remove time from acpi_processor_cx structure
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 17 Jul 2012 20:16:04 +0000 (22:16 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 17 Jul 2012 20:16:04 +0000 (22:16 +0200)
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>
drivers/acpi/processor_idle.c
include/acpi/processor.h

index f355f1a..4cf9648 100644 (file)
@@ -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;
 }
 
index 022b2e8..c72a801 100644 (file)
@@ -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];
 };