From patchwork Mon Jun 24 07:36:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 18052 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f70.google.com (mail-qa0-f70.google.com [209.85.216.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id DC57425CFE for ; Mon, 24 Jun 2013 07:37:43 +0000 (UTC) Received: by mail-qa0-f70.google.com with SMTP id cr7sf5563844qab.5 for ; Mon, 24 Jun 2013 00:37:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=BQ5ntk1eIjtn0Yk1JK4QD39W4zfXFteUUJdcrDnVL+s=; b=RqdY1OG1Vj4Ehl/qAVABwwTb4AxwzK/uxmZWezXFsgP+uV0PwOqNWicivpdtHXoWTX +Q/VfTqpR5mUQFGwzQdaSQvHI0G17BoWV9whgT9IgqhZpYSB8nMq6DOgFCff1NmyQ1av vux/DfJDN4eLlEYFuQ+zHsc9FqxRlv5zp9NAFddE42zloHmwEGMZKbzAKm53S2BxPnh+ iRVOJkyXipzDvAZwim/Z8qO45i++kSH5+ovufJrIrOHXLItOoXlYed9l4qbkuXaMTHf6 5NjMxSGsE2qnK6XSumT7lpZB9u8KaabarE69XcXfx804MjgW6Ccnxm0vlSDQIabIkFdL q/ig== X-Received: by 10.224.200.202 with SMTP id ex10mr24971457qab.8.1372059463448; Mon, 24 Jun 2013 00:37:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.59.111 with SMTP id y15ls959244qeq.96.gmail; Mon, 24 Jun 2013 00:37:43 -0700 (PDT) X-Received: by 10.58.211.7 with SMTP id my7mr10851923vec.54.1372059463245; Mon, 24 Jun 2013 00:37:43 -0700 (PDT) Received: from mail-ve0-x231.google.com (mail-ve0-x231.google.com [2607:f8b0:400c:c01::231]) by mx.google.com with ESMTPS id sz6si4593415vdc.114.2013.06.24.00.37.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 00:37:43 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c01::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c01::231; Received: by mail-ve0-f177.google.com with SMTP id cz10so8225494veb.8 for ; Mon, 24 Jun 2013 00:37:43 -0700 (PDT) X-Received: by 10.220.110.78 with SMTP id m14mr10648908vcp.53.1372059462997; Mon, 24 Jun 2013 00:37:42 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp17324veb; Mon, 24 Jun 2013 00:37:42 -0700 (PDT) X-Received: by 10.68.134.40 with SMTP id ph8mr22201859pbb.177.1372059461694; Mon, 24 Jun 2013 00:37:41 -0700 (PDT) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [2607:f8b0:400e:c03::231]) by mx.google.com with ESMTPS id aj7si8614688pad.13.2013.06.24.00.37.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 00:37:41 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400e:c03::231 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=2607:f8b0:400e:c03::231; Received: by mail-pa0-f49.google.com with SMTP id ld11so10665828pab.36 for ; Mon, 24 Jun 2013 00:37:41 -0700 (PDT) X-Received: by 10.68.254.225 with SMTP id al1mr10746019pbd.69.1372059461130; Mon, 24 Jun 2013 00:37:41 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id qe10sm16955130pbb.2.2013.06.24.00.37.00 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 24 Jun 2013 00:37:40 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, Hanjun Guo Subject: [PATCH] ACPI / processor: Remove unused macros in processor_driver.c Date: Mon, 24 Jun 2013 15:36:33 +0800 Message-Id: <1372059393-15996-1-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlFEoHjIFfvk9IY7jcM3sGFa6vLpbaiNI8IpZYQPa8p2Jn/NL1enrqgKOtpMXzrSaxHzuGu X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c01::231 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , ACPI_PROCESSOR_FILE_INFO, ACPI_PROCESSOR_FILE_THROTTLING and ACPI_PROCESSOR_FILE_LIMIT are used for procfs, but this feature was removed in commit d09fe555 (ACPI processor: remove deprecated ACPI procfs I/F) long ago. So, these macros should also be removed. ACPI_PROCESSOR_LIMIT_USER and ACPI_PROCESSOR_LIMIT_THERMAL are not used by any code, remove them too. Signed-off-by: Hanjun Guo --- drivers/acpi/processor_driver.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/acpi/processor_driver.c b/drivers/acpi/processor_driver.c index d93963f..823be116 100644 --- a/drivers/acpi/processor_driver.c +++ b/drivers/acpi/processor_driver.c @@ -43,16 +43,10 @@ #define PREFIX "ACPI: " -#define ACPI_PROCESSOR_FILE_INFO "info" -#define ACPI_PROCESSOR_FILE_THROTTLING "throttling" -#define ACPI_PROCESSOR_FILE_LIMIT "limit" #define ACPI_PROCESSOR_NOTIFY_PERFORMANCE 0x80 #define ACPI_PROCESSOR_NOTIFY_POWER 0x81 #define ACPI_PROCESSOR_NOTIFY_THROTTLING 0x82 -#define ACPI_PROCESSOR_LIMIT_USER 0 -#define ACPI_PROCESSOR_LIMIT_THERMAL 1 - #define _COMPONENT ACPI_PROCESSOR_COMPONENT ACPI_MODULE_NAME("processor_driver");