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>
This commit is contained in:
parent
8651f97bd9
commit
64d45f07b4
|
@ -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)
|
||||||
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 {
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue