From patchwork Thu Jul 12 21:03:46 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1190661 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 B9FCA40CDC for ; Thu, 12 Jul 2012 21:04:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933930Ab2GLVD7 (ORCPT ); Thu, 12 Jul 2012 17:03:59 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:40466 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933922Ab2GLVD5 (ORCPT ); Thu, 12 Jul 2012 17:03:57 -0400 Received: by mail-we0-f174.google.com with SMTP id x8so2012396wey.19 for ; Thu, 12 Jul 2012 14:03:57 -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=Kx7Q+EbyqohCkjLuySTd9QIzr5/bOC692cE4WzMzS1g=; b=R8TPBpCMQDDhv4yMIUdE7EkWpEaMKAMf0rI7xKxzKTfNLoUc/1BUW1dNO/3lZrfCc8 WR46nc3/JnyDTL1O0cgLGk4G6xEMYmRazS1TiAlNqm1mqlZS4amv3wPm4oY3gmn5X8es 4uz89sAvyXErVQcNxCDnALUyllFARdvrMFyJpl9QyIi4yEo1U0B/nG7/3HMn7xwVBQza bPTBKQn+ieBE9wNY65HfpwEqWK7A1FPOItw1ljmTCT4szQqU3+Iagu0xvh8ol36Z60io mqWrlPknAMvZJ6VOsgVkkNnqSRPfLg/KiTr1oURZeE/mkiNpUAEiBvqQdblarS5u7xXz we2w== Received: by 10.216.104.202 with SMTP id i52mr11071086weg.69.1342127036762; Thu, 12 Jul 2012 14:03:56 -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.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 14:03:56 -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 5/5] acpi : remove time from acpi_processor_cx structure Date: Thu, 12 Jul 2012 23:03:46 +0200 Message-Id: <1342127026-1526-5-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: ALoCoQn0oL7AhNK6CwntGI5REDuct6JqhLzNBMYtHnFJRji73BtSP1sRhIIgDLNZ80h2CMJcxxEC Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Remove the time 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 99ba58f..bc1ce58 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -861,7 +861,6 @@ static int acpi_idle_enter_simple(struct cpuidle_device *dev, current_thread_info()->status |= TS_POLLING; lapic_timer_state_broadcast(pr, cx, 0); - cx->time += idle_time; return index; } @@ -979,7 +978,6 @@ static int acpi_idle_enter_bm(struct cpuidle_device *dev, current_thread_info()->status |= TS_POLLING; lapic_timer_state_broadcast(pr, cx, 0); - cx->time += idle_time; return index; } diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 87bb9d7..3998334 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; - u64 time; u8 bm_sts_skip; char desc[ACPI_CX_DESC_LEN]; };