From patchwork Thu Jul 12 21:03:45 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1190631 Return-Path: X-Original-To: patchwork-linux-acpi@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4170440B20 for ; Thu, 12 Jul 2012 21:03:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934247Ab2GLVD5 (ORCPT ); Thu, 12 Jul 2012 17:03:57 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:36120 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933975Ab2GLVD4 (ORCPT ); Thu, 12 Jul 2012 17:03:56 -0400 Received: by weyx8 with SMTP id x8so2012429wey.19 for ; Thu, 12 Jul 2012 14:03:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references :x-gm-message-state; bh=tspnldUnq8XT1LLp0+1xjBA1oTUuF2H4WvMW8DLxz+A=; b=WQC9cUbho+bAXrnJWJZCSqkL+8e2T4j36f+ThNBApSrC3yxWTTLgIE/GwIfWDK5EJ7 GlV0PGQyAXobgccJR4Ur8isk6pJ5dVy/nilRue27euFYTlNCl5HM8KqZLzheXKfTaQo0 ZOFFdFY2E4LjenMiFrOadrh+3RQs3I5PyvcZla7jXnYXevyk7jEOtjPvGsXZ8EM36ykY mpsKqQyfi4mCyzxW3hKJWM1YrX4Vqo+hTcQ+dDsht5Nrn0Et696UyW+t2AoE0O/M+pSK Yo27OrVR9BuU6POWjDK2u1v99XPeqyRGnZNihkjnrT1NAFHduCWcJa6vuwOTrbtuQhPh 5pDQ== Received: by 10.216.3.85 with SMTP id 63mr12100163weg.134.1342127035055; Thu, 12 Jul 2012 14:03:55 -0700 (PDT) Received: from localhost.localdomain (AToulouse-651-1-167-180.w90-11.abo.wanadoo.fr. [90.11.50.180]) by mx.google.com with ESMTPS id fb20sm1239619wid.1.2012.07.12.14.03.53 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 14:03:54 -0700 (PDT) From: Daniel Lezcano To: rjw@sisk.pl, lenb@kernel.org Cc: linux-pm@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH 4/5] acpi : remove power from acpi_processor_cx structure Date: Thu, 12 Jul 2012 23:03:45 +0200 Message-Id: <1342127026-1526-4-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1342127026-1526-1-git-send-email-daniel.lezcano@linaro.org> References: <1342127026-1526-1-git-send-email-daniel.lezcano@linaro.org> X-Gm-Message-State: ALoCoQnVGdqQPj029AgfgHHqIqtRzIxmNFvjU22OqkrYwNJ9bgaNzPpKacjWbJzAcTLVvBQJZKpS Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Remove the power field as it is not used. 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 d044588..99ba58f 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -485,8 +485,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 0957457..87bb9d7 100644 --- a/include/acpi/processor.h +++ b/include/acpi/processor.h @@ -58,7 +58,6 @@ struct acpi_processor_cx { u32 address; u8 entry_method; u32 latency; - u32 power; u64 time; u8 bm_sts_skip; char desc[ACPI_CX_DESC_LEN];