aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-09-05 09:13:48 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2012-09-05 09:13:48 -0400
commitc59687f8466df36633d937cc298aad465d704990 (patch)
tree46e833c005ab773044699d944a6d8baf261e64a6 /drivers
parent66804c13f7b79fb26cf4848ebac1e865b9aff65c (diff)
cpuidle / ACPI : remove power from acpi_processor_cx structure
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/acpi/processor_idle.c2
-rw-r--r--drivers/xen/xen-acpi-processor.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index ad3730b4038b..de896242d144 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -483,8 +483,6 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr)
483 if (obj->type != ACPI_TYPE_INTEGER) 483 if (obj->type != ACPI_TYPE_INTEGER)
484 continue; 484 continue;
485 485
486 cx.power = obj->integer.value;
487
488 current_count++; 486 current_count++;
489 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); 487 memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx));
490 488
diff --git a/drivers/xen/xen-acpi-processor.c b/drivers/xen/xen-acpi-processor.c
index b590ee067fcd..316df65163cf 100644
--- a/drivers/xen/xen-acpi-processor.c
+++ b/drivers/xen/xen-acpi-processor.c
@@ -98,7 +98,6 @@ static int push_cxx_to_hypervisor(struct acpi_processor *_pr)
98 98
99 dst_cx->type = cx->type; 99 dst_cx->type = cx->type;
100 dst_cx->latency = cx->latency; 100 dst_cx->latency = cx->latency;
101 dst_cx->power = cx->power;
102 101
103 dst_cx->dpcnt = 0; 102 dst_cx->dpcnt = 0;
104 set_xen_guest_handle(dst_cx->dp, NULL); 103 set_xen_guest_handle(dst_cx->dp, NULL);