From patchwork Mon Feb 4 22:44:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 14546 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 6815124195 for ; Mon, 4 Feb 2013 22:44:49 +0000 (UTC) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by fiordland.canonical.com (Postfix) with ESMTP id 186BEA1853E for ; Mon, 4 Feb 2013 22:44:49 +0000 (UTC) Received: by mail-ve0-f175.google.com with SMTP id cy12so2723486veb.34 for ; Mon, 04 Feb 2013 14:44:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=18oO2X+W8QFkMs/56nRKOD8bvRC3MWjB9GWvJCtPQtc=; b=pj2PL2MbqVz0aNCaOTrZgnV2T35fBJBXnCL5QMr6iX00yDSJZv1ER79IOoRvFfTzMa W1lw+GBFUdn9Tl31gIYlMmBHUZopi8I5kM8t2R4W8IVsQmssmrZxGg1RhYHkcnf6uyE3 hOtYzRIe1iTzehEZQWwKLTa2zeRIiTJGKtwfzjisPvLorLleBudv7dvyszIZehgNTWVN B40LSL8QgWVoM/zpUBqfjARpGtIHqPOX8jXfuuMu0sgTgK47Albz9vu230gTdGE+NNxA pTFQ7DSiG0zu8yRjHr60AxQShXUQKyHjf9kroiXHHvx/BXfQ22MgWppRnSOaGk0fYtO1 wgjg== X-Received: by 10.58.48.231 with SMTP id p7mr21063681ven.11.1360017888504; Mon, 04 Feb 2013 14:44:48 -0800 (PST) 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.58.252.8 with SMTP id zo8csp110414vec; Mon, 4 Feb 2013 14:44:47 -0800 (PST) X-Received: by 10.180.92.129 with SMTP id cm1mr13294686wib.10.1360017887461; Mon, 04 Feb 2013 14:44:47 -0800 (PST) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx.google.com with ESMTPS id da9si6427211wjb.154.2013.02.04.14.44.46 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 14:44:47 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.178 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=209.85.212.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.178 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-wi0-f178.google.com with SMTP id o1so3580944wic.5 for ; Mon, 04 Feb 2013 14:44:46 -0800 (PST) X-Received: by 10.180.84.131 with SMTP id z3mr13214737wiy.25.1360017886575; Mon, 04 Feb 2013 14:44:46 -0800 (PST) Received: from mai.home (AToulouse-654-1-332-150.w86-199.abo.wanadoo.fr. [86.199.219.150]) by mx.google.com with ESMTPS id ex1sm2812774wib.7.2013.02.04.14.44.44 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 04 Feb 2013 14:44:45 -0800 (PST) From: Daniel Lezcano To: rjw@sisk.pl Cc: linaro-dev@lists.linaro.org, patches@linaro.org, lenb@kernel.org, linux-pm@vger.kernel.org Subject: [PATCH 1/4] ACPI / idle: remove unused definition Date: Mon, 4 Feb 2013 23:44:40 +0100 Message-Id: <1360017883-9544-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQk2TW7er4IO1ZW42L70lFJUSL/pBcGSnNbG9RO8HEtxTzZmbSLCpBJLsO6YS3URfyTjvcDP The different definitions are not used anywhere in the code. Signed-off-by: Daniel Lezcano --- drivers/acpi/processor_idle.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index e606e36..5cb5f24 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -64,11 +64,6 @@ #define ACPI_PROCESSOR_CLASS "processor" #define _COMPONENT ACPI_PROCESSOR_COMPONENT ACPI_MODULE_NAME("processor_idle"); -#define PM_TIMER_TICK_NS (1000000000ULL/ACPI_PM_TIMER_FREQUENCY) -#define C2_OVERHEAD 1 /* 1us */ -#define C3_OVERHEAD 1 /* 1us */ -#define PM_TIMER_TICKS_TO_US(p) \ - (((p) * 1000)/(ACPI_PM_TIMER_FREQUENCY/1000)) static unsigned int max_cstate __read_mostly = ACPI_PROCESSOR_MAX_POWER; module_param(max_cstate, uint, 0000);