From patchwork Thu Jul 12 21:03:42 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1190581 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 55BC540CDC for ; Thu, 12 Jul 2012 21:03:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933876Ab2GLVDw (ORCPT ); Thu, 12 Jul 2012 17:03:52 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:36883 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933478Ab2GLVDv (ORCPT ); Thu, 12 Jul 2012 17:03:51 -0400 Received: by weyx8 with SMTP id x8so2012381wey.19 for ; Thu, 12 Jul 2012 14:03:50 -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:x-gm-message-state; bh=FPMOaBRbeeAZJYqvqeQ/pU3e8tmtnXOdEmd8+HCx37U=; b=fE5Ir533ZG3ixSftxYz3jlXJoUlEvB00gjIeM1Luz6on2jEd/Vtd9NNdvJFC0RaiOo F/K+fv5oTKKlvQWm1w5AyvPXiLNm6mrduN7iUfqCxPmSF1/hsNPYPTOMY6GcaUiF//mV uMHwAeK7fuzUFShp01KIjFqb7iWicvXvEMM1mt9Z3lCDq3EtPonZaRfz9hoKg3IkzqR+ IZKnZB3bO7BvTZvK+u2E8zbxT75N8/KIAyi2uji0mPNCg09W48WoaAQJgIUURaxqay62 Jk7Bx3s83y9dX+EvCFz63x6vvsm8WS4KR20YhSCwgbJjkFKY1YZgyOj/zlW4Au/DOJxN IgCQ== Received: by 10.180.97.106 with SMTP id dz10mr2776492wib.21.1342127030273; Thu, 12 Jul 2012 14:03:50 -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.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Jul 2012 14:03:49 -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 1/5] acpi : remove latency_ticks from acpi_processor_cx structure Date: Thu, 12 Jul 2012 23:03:42 +0200 Message-Id: <1342127026-1526-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQnvAVrOsN92oAi81Ks/pugE0BPs6yETD+UfS3LMilY5hIaAqrj4H2WcfOteuO4yoc0oNWkW Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Remove the latency_ticks 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 f3decb3..da92c65 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -586,7 +586,6 @@ static void acpi_processor_power_verify_c3(struct acpi_processor *pr, */ cx->valid = 1; - cx->latency_ticks = cx->latency; /* * On older chipsets, BM_RLD needs to be set * in order for Bus Master activity to wake the @@ -619,7 +618,6 @@ static int acpi_processor_power_verify(struct acpi_processor *pr) if (!cx->address) break; cx->valid = 1; - cx->latency_ticks = cx->latency; /* Normalize latency */ break; case ACPI_STATE_C3: diff --git a/include/acpi/processor.h b/include/acpi/processor.h index 9d65047..a70cbcc 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 latency_ticks; u32 power; u32 usage; u64 time;