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

index d8366ee75716ab74b5566321e737d5857f127270..b0d2bbe59096f9ad838b680e57afe000a7800d5b 100644 (file)
@@ -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:
index 9d650476d5dcf8eb346c8520db639efbb9907964..a70cbcc8a054175ea44170cdd5322292962bc4e3 100644 (file)
@@ -59,7 +59,6 @@ struct acpi_processor_cx {
        u8 entry_method;
        u8 index;
        u32 latency;
-       u32 latency_ticks;
        u32 power;
        u32 usage;
        u64 time;