Commit 64d45f07 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by Rafael J. Wysocki

cpuidle / ACPI : remove latency_ticks from acpi_processor_cx structure

Remove the latency_ticks field as it is not used.
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 8651f97b
...@@ -583,7 +583,6 @@ static void acpi_processor_power_verify_c3(struct acpi_processor *pr, ...@@ -583,7 +583,6 @@ static void acpi_processor_power_verify_c3(struct acpi_processor *pr,
*/ */
cx->valid = 1; cx->valid = 1;
cx->latency_ticks = cx->latency;
/* /*
* On older chipsets, BM_RLD needs to be set * On older chipsets, BM_RLD needs to be set
* in order for Bus Master activity to wake the * in order for Bus Master activity to wake the
...@@ -616,7 +615,6 @@ static int acpi_processor_power_verify(struct acpi_processor *pr) ...@@ -616,7 +615,6 @@ static int acpi_processor_power_verify(struct acpi_processor *pr)
if (!cx->address) if (!cx->address)
break; break;
cx->valid = 1; cx->valid = 1;
cx->latency_ticks = cx->latency; /* Normalize latency */
break; break;
case ACPI_STATE_C3: case ACPI_STATE_C3:
......
...@@ -59,7 +59,6 @@ struct acpi_processor_cx { ...@@ -59,7 +59,6 @@ struct acpi_processor_cx {
u8 entry_method; u8 entry_method;
u8 index; u8 index;
u32 latency; u32 latency;
u32 latency_ticks;
u32 power; u32 power;
u32 usage; u32 usage;
u64 time; u64 time;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment