提交 c59687f8 编写于 作者: D Daniel Lezcano 提交者: Rafael J. Wysocki

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: NDaniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
上级 66804c13
...@@ -483,8 +483,6 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr) ...@@ -483,8 +483,6 @@ static int acpi_processor_get_power_info_cst(struct acpi_processor *pr)
if (obj->type != ACPI_TYPE_INTEGER) if (obj->type != ACPI_TYPE_INTEGER)
continue; continue;
cx.power = obj->integer.value;
current_count++; current_count++;
memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx)); memcpy(&(pr->power.states[current_count]), &cx, sizeof(cx));
......
...@@ -98,7 +98,6 @@ static int push_cxx_to_hypervisor(struct acpi_processor *_pr) ...@@ -98,7 +98,6 @@ static int push_cxx_to_hypervisor(struct acpi_processor *_pr)
dst_cx->type = cx->type; dst_cx->type = cx->type;
dst_cx->latency = cx->latency; dst_cx->latency = cx->latency;
dst_cx->power = cx->power;
dst_cx->dpcnt = 0; dst_cx->dpcnt = 0;
set_xen_guest_handle(dst_cx->dp, NULL); set_xen_guest_handle(dst_cx->dp, NULL);
......
...@@ -59,7 +59,6 @@ struct acpi_processor_cx { ...@@ -59,7 +59,6 @@ struct acpi_processor_cx {
u8 entry_method; u8 entry_method;
u8 index; u8 index;
u32 latency; u32 latency;
u32 power;
u8 bm_sts_skip; u8 bm_sts_skip;
char desc[ACPI_CX_DESC_LEN]; char desc[ACPI_CX_DESC_LEN];
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册