Skip to content

Commit

Permalink
cpuidle / ACPI : remove latency_ticks from acpi_processor_cx structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Lezcano authored and Rafael J. Wysocki committed Jul 17, 2012
1 parent 8651f97 commit 64d45f0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion include/acpi/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ struct acpi_processor_cx {
u8 entry_method;
u8 index;
u32 latency;
u32 latency_ticks;
u32 power;
u32 usage;
u64 time;
Expand Down

0 comments on commit 64d45f0

Please sign in to comment.