Skip to content

Commit

Permalink
cpuidle / ACPI : remove power from acpi_processor_cx structure
Browse files Browse the repository at this point in the history
Remove the unused power field from struct struct acpi_processor_cx.

[rjw: Modified changelog.]

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
  • Loading branch information
Daniel Lezcano authored and Rafael J. Wysocki committed Sep 5, 2012
1 parent 66804c1 commit c59687f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/processor_idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,6 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr)
if (obj->type != ACPI_TYPE_INTEGER)
continue;

cx.power = obj->integer.value;

current_count++;
memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx));

Expand Down
1 change: 0 additions & 1 deletion drivers/xen/xen-acpi-processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ static int push_cxx_to_hypervisor(struct acpi_processor *_pr)

dst_cx->type = cx->type;
dst_cx->latency = cx->latency;
dst_cx->power = cx->power;

dst_cx->dpcnt = 0;
set_xen_guest_handle(dst_cx->dp, NULL);
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 power;
u8 bm_sts_skip;
char desc[ACPI_CX_DESC_LEN];
};
Expand Down

0 comments on commit c59687f

Please sign in to comment.