summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-07-17 22:15:24 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2012-07-17 22:15:24 +0200
commit64d45f07b433090ee1329cf74989d973875028cb (patch)
tree36d0c80ea4fb0f66533b863c1ed12728044c2641
parent8651f97bd951d0bb1c10fa24e3fa3455193f3548 (diff)
downloadlinux-3.10-64d45f07b433090ee1329cf74989d973875028cb.tar.gz
linux-3.10-64d45f07b433090ee1329cf74989d973875028cb.tar.bz2
linux-3.10-64d45f07b433090ee1329cf74989d973875028cb.zip
cpuidle / ACPI : remove latency_ticks from acpi_processor_cx structure
Remove the latency_ticks 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.c2
-rw-r--r--include/acpi/processor.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index d8366ee7571..b0d2bbe5909 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -583,7 +583,6 @@ static void acpi_processor_power_verify_c3(struct acpi_processor *pr,
*/
cx->valid = 1;
- cx->latency_ticks = cx->latency;
/*
* On older chipsets, BM_RLD needs to be set
* in order for Bus Master activity to wake the
@@ -616,7 +615,6 @@ static int acpi_processor_power_verify(struct acpi_processor *pr)
if (!cx->address)
break;
cx->valid = 1;
- cx->latency_ticks = cx->latency; /* Normalize latency */
break;
case ACPI_STATE_C3:
diff --git a/include/acpi/processor.h b/include/acpi/processor.h
index 9d650476d5d..a70cbcc8a05 100644
--- a/include/acpi/processor.h
+++ b/include/acpi/processor.h
@@ -59,7 +59,6 @@ struct acpi_processor_cx {
u8 entry_method;
u8 index;
u32 latency;
- u32 latency_ticks;
u32 power;
u32 usage;
u64 time;