From patchwork Fri Dec 18 14:17:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 58712 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp1063100lbb; Fri, 18 Dec 2015 06:31:29 -0800 (PST) X-Received: by 10.66.90.234 with SMTP id bz10mr5646820pab.115.1450449089249; Fri, 18 Dec 2015 06:31:29 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xt4si24354315pab.131.2015.12.18.06.31.28; Fri, 18 Dec 2015 06:31:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754020AbbLROb0 (ORCPT + 29 others); Fri, 18 Dec 2015 09:31:26 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:34953 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933116AbbLROTU (ORCPT ); Fri, 18 Dec 2015 09:19:20 -0500 Received: by mail-wm0-f52.google.com with SMTP id l126so66166829wml.0 for ; Fri, 18 Dec 2015 06:19:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=rSjnPFGTWHz6WXcwBxH88NfaHaFDi7NyZiyIgPjqFhY=; b=J5nySR11xr+C9tPG6owlyCLwUw4WI0RtXdGh50al6yNOQJvjHejIBLh+hnC3eNl/zX wPT5aJFVhJfclZPCQ+/0H/OPTKw+F3rnmhrzRrg/6jY/LD5/eAph4sJmF2ufdR11IKzA j3TPenS668ecOylvPgRrfotARU/z+mdUW+2Pg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=rSjnPFGTWHz6WXcwBxH88NfaHaFDi7NyZiyIgPjqFhY=; b=gLj0ZkmrP92ZZqot4uP29Worsp17OghH6TPFar8xJEU4Vqel64FVqdXWpa+BuxZ2pm xJ7nMj9LfUzyVDxEu9kAIQ7VZjnJtfos5abQEiA3C4yemlKpolEcQ+oAckM0ajcYONWU QsntBhANVaCXcTfp8VvHqXoyOht9dFP6xCBlFaYV16OLXLINvdOzcAF8noiYUSlWnYOq 6OzVJlHxAylcH1V1D3vLnboL82/V7U41dvQ2qniFYgv83TY3OEL3uQn+XrY57uwlV+O9 7w5T1dVUNSZBd3/8ckqOZmF60gH1A5MiBMve2AALZH1g1bGkMWZh0O4797iG3Dgux8rc 1jug== X-Gm-Message-State: ALoCoQnMn24AJwRLXkfyvQ3ZBz2Wv2vtynvmpvaT4Afj3pkTl24cu1Y3IRebToIl8p6UGYLxI0PRfW2lVUz8gHCr/YXWO8MCvw== X-Received: by 10.194.200.227 with SMTP id jv3mr4474006wjc.20.1450448359265; Fri, 18 Dec 2015 06:19:19 -0800 (PST) Received: from localhost.localdomain ([78.210.255.2]) by smtp.gmail.com with ESMTPSA id ql10sm15010027wjc.23.2015.12.18.06.19.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 18 Dec 2015 06:19:18 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mingo@kernel.org, Yoshinori Sato , uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: [PATCH 39/69] clocksource/drivers/h8300_tpu: Remove unused macros Date: Fri, 18 Dec 2015 15:17:52 +0100 Message-Id: <1450448302-27429-39-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> References: <5672CB9E.7090707@linaro.org> <1450448302-27429-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some macros are unused, delete them. Signed-off-by: Daniel Lezcano --- drivers/clocksource/h8300_tpu.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/drivers/clocksource/h8300_tpu.c b/drivers/clocksource/h8300_tpu.c index ed0b493..576dae6 100644 --- a/drivers/clocksource/h8300_tpu.c +++ b/drivers/clocksource/h8300_tpu.c @@ -20,16 +20,9 @@ #include #include -#define TCR 0 -#define TMDR 1 -#define TIOR 2 -#define TER 4 -#define TSR 5 -#define TCNT 6 -#define TGRA 8 -#define TGRB 10 -#define TGRC 12 -#define TGRD 14 +#define TCR 0x0 +#define TSR 0x5 +#define TCNT 0x6 struct tpu_priv { struct clocksource cs;