From patchwork Fri Oct 19 09:51:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 1617341 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 8EE023FD9C for ; Fri, 19 Oct 2012 09:51:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753876Ab2JSJvg (ORCPT ); Fri, 19 Oct 2012 05:51:36 -0400 Received: from mail-wi0-f170.google.com ([209.85.212.170]:57496 "EHLO mail-wi0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753054Ab2JSJvg (ORCPT ); Fri, 19 Oct 2012 05:51:36 -0400 Received: by mail-wi0-f170.google.com with SMTP id hm2so50261wib.1 for ; Fri, 19 Oct 2012 02:51:34 -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=OW/KLi0S9A+RWkVpCjoPWWn3/D4YnRhTFnmcwKicioE=; b=BXL5svFR0IDPntFA98elZbC9lHgO3EtuaMG6jeffD+HDGb4hwXCXuaEnDT2l9evU14 bPC5RNffzLwHE3qnJMhlbv+IZRPcdwRHSRpe2cDm8XaiAtvtRj5H6VQKOWGBx20r81wl 4ZgoR7K9OVQeLieiKb5wzYn216AYNjVmrjaOTu3Q/BgCEZl3459B9JRIsusghWVb2PX2 PIr2RXxmIifvba+UzfPPEqRHnGFkpV8Bw7yUtAC2vYP1lBYcaC/b2UmPG7dviaicWStK eVf37FhXixN9Ww/X/PCUucjc8Y89ILhms7kw+oTW1dXX6CYQRR4uzsNJrE+tSPbzf14r ENiA== Received: by 10.180.102.131 with SMTP id fo3mr17741047wib.1.1350640294732; Fri, 19 Oct 2012 02:51:34 -0700 (PDT) Received: from localhost.localdomain (AToulouse-654-1-1-158.w90-5.abo.wanadoo.fr. [90.5.56.158]) by mx.google.com with ESMTPS id dt9sm33952821wib.1.2012.10.19.02.51.33 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2012 02:51:33 -0700 (PDT) From: Daniel Lezcano To: lenb@kernel.org, rjw@sisk.pl Cc: linux-acpi@vger.kernel.org, linaro-dev@lists.linaro.org, patches@linaro.org Subject: [PATCH 1/5] cpuidle / ACPI : remove unused definition Date: Fri, 19 Oct 2012 11:51:28 +0200 Message-Id: <1350640292-22468-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.5.4 X-Gm-Message-State: ALoCoQlhPE68cwskioNwOELmwNLG3XBvLcTAsHqkg4xrM4HfsUhPBgjx+Sy8xRBskI2T1+7hSHVh Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org The different definitions are not used anywhere in the code. Signed-off-by: Daniel Lezcano --- drivers/acpi/processor_idle.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index e8086c7..1f536a3 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -60,14 +60,7 @@ #include #define PREFIX "ACPI: " - -#define ACPI_PROCESSOR_CLASS "processor" -#define _COMPONENT ACPI_PROCESSOR_COMPONENT ACPI_MODULE_NAME("processor_idle"); -#define PM_TIMER_TICK_NS (1000000000ULL/PM_TIMER_FREQUENCY) -#define C2_OVERHEAD 1 /* 1us */ -#define C3_OVERHEAD 1 /* 1us */ -#define PM_TIMER_TICKS_TO_US(p) (((p) * 1000)/(PM_TIMER_FREQUENCY/1000)) static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER; module_param(max_cstate, uint, 0000);