From patchwork Thu Nov 10 23:58:13 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 5040 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 25C6723E03 for ; Thu, 10 Nov 2011 23:58:19 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 1A29CA1831E for ; Thu, 10 Nov 2011 23:58:19 +0000 (UTC) Received: by mail-fx0-f52.google.com with SMTP id n26so5002552faa.11 for ; Thu, 10 Nov 2011 15:58:19 -0800 (PST) Received: by 10.152.134.116 with SMTP id pj20mr5737508lab.5.1320969498921; Thu, 10 Nov 2011 15:58:18 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.40.7 with SMTP id t7cs29173lak; Thu, 10 Nov 2011 15:58:18 -0800 (PST) Received: by 10.227.199.200 with SMTP id et8mr2970819wbb.13.1320969496783; Thu, 10 Nov 2011 15:58:16 -0800 (PST) Received: from smtp.smtpout.orange.fr (smtp07.smtpout.orange.fr. [80.12.242.129]) by mx.google.com with ESMTP id fr4si1122216wbb.89.2011.11.10.15.58.16; Thu, 10 Nov 2011 15:58:16 -0800 (PST) Received-SPF: neutral (google.com: 80.12.242.129 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=80.12.242.129; Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.129 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: from monster.dhcp.lxc ([92.134.91.32]) by mwinf5d65 with ME id vbyD1h0010htGy403byGiF; Fri, 11 Nov 2011 00:58:16 +0100 From: Daniel Lezcano To: patches@linaro.org Subject: [PATCH 6/6] acpi : remove 'power' field from acpi_processor_cx Date: Fri, 11 Nov 2011 00:58:13 +0100 Message-Id: <1320969493-27292-7-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1320969493-27292-1-git-send-email-daniel.lezcano@linaro.org> References: <1320969493-27292-1-git-send-email-daniel.lezcano@linaro.org> The power field is filled but never used in the code. Signed-off-by: Daniel Lezcano --- drivers/acpi/processor_idle.c | 2 -- include/acpi/processor.h | 1 - 2 files changed, 0 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index 4b9ebd5..e2b67e2 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -495,8 +495,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)); diff --git a/include/acpi/processor.h b/include/acpi/processor.h index bc3449a..bed1093 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -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]; };