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: 12359 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 569DA23EFE for ; Fri, 19 Oct 2012 09:51:38 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id DBF23A18A56 for ; Fri, 19 Oct 2012 09:51:37 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id f6so164226iag.11 for ; Fri, 19 Oct 2012 02:51:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:x-gm-message-state; bh=OW/KLi0S9A+RWkVpCjoPWWn3/D4YnRhTFnmcwKicioE=; b=go2jErIIN8i4zIUxq7B/AFk9kkPnu08xlF+CnrM2q4Ul1RQJvVZegiAtiGGzYiZP9M q8GyYReFEi9agyzJqTk6J6JNF2Ox7e+/+8581qcN/I1v3R1u7zzFpNG0QeSNa4y7M3MB 74Z4hsaEnk/rr8EbR04n3TsBuCpAX68tBt5tHHzR+98hd3dVJOl/LXqEC9SCnpz4FzYB AUD8LEM/bAjjWeNjU7iK2K4oKEfiODhCcKjUEZmzqL6eLdqbGh5ZzMMKw3VucE/vHrip +LcRTT6d1EcI35KCEzcuvm49Hm+9aHyGymp0ksU/MMz1Yvx/jiuiRSnTehW9O3wEC/q5 8c+Q== Received: by 10.50.46.226 with SMTP id y2mr548470igm.62.1350640297233; Fri, 19 Oct 2012 02:51:37 -0700 (PDT) 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.50.67.148 with SMTP id n20csp53886igt; Fri, 19 Oct 2012 02:51:36 -0700 (PDT) Received: by 10.216.134.140 with SMTP id s12mr461263wei.105.1350640295510; Fri, 19 Oct 2012 02:51:35 -0700 (PDT) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx.google.com with ESMTPS id gq9si37089780wib.13.2012.10.19.02.51.34 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 19 Oct 2012 02:51:35 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.82.50 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) smtp.mail=daniel.lezcano@linaro.org Received: by mail-wg0-f50.google.com with SMTP id 16so224310wgi.31 for ; Fri, 19 Oct 2012 02:51:34 -0700 (PDT) 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: ALoCoQlTcivMqcLsJyVQK6+52FKQH5Y32AHERbUQSOASYDYEnTLslExGQC/vz4ZvUnyOp0wuFrwK 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);