diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-09-05 15:13:48 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2012-09-05 15:13:48 +0200 |
commit | c59687f8466df36633d937cc298aad465d704990 (patch) | |
tree | 46e833c005ab773044699d944a6d8baf261e64a6 /drivers/acpi | |
parent | 66804c13f7b79fb26cf4848ebac1e865b9aff65c (diff) | |
download | op-kernel-dev-c59687f8466df36633d937cc298aad465d704990.zip op-kernel-dev-c59687f8466df36633d937cc298aad465d704990.tar.gz |
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/acpi')
-rw-r--r-- | drivers/acpi/processor_idle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index ad3730b..de89624 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) if (obj->type != ACPI_TYPE_INTEGER) continue; - cx.power = obj->integer.value; - current_count++; memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); |