Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752761AbbKKOvH (ORCPT ); Wed, 11 Nov 2015 09:51:07 -0500 Received: from mail2.asahi-net.or.jp ([202.224.39.198]:53846 "EHLO mail2.asahi-net.or.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752679AbbKKOu7 (ORCPT ); Wed, 11 Nov 2015 09:50:59 -0500 Date: Wed, 11 Nov 2015 23:38:16 +0900 Message-ID: <87oaf0mwiv.wl-ysato@users.sourceforge.jp> From: Yoshinori Sato To: Daniel Lezcano Cc: tglx@linutronix.de, linux-kernel@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp (moderated list:H8/300 ARCHITECTURE) Subject: Re: [PATCH 02/15] clocksource/drivers/h8300_tpu: Remove unused macros In-Reply-To: <1447063614-4662-2-git-send-email-daniel.lezcano@linaro.org> References: <1447063614-4662-1-git-send-email-daniel.lezcano@linaro.org> <1447063614-4662-2-git-send-email-daniel.lezcano@linaro.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1166 Lines: 45 On Mon, 09 Nov 2015 19:06:40 +0900, Daniel Lezcano wrote: > > Some macros are unused, delete them. > > Signed-off-by: Daniel Lezcano Acked-by: Yoshinori Sato > --- > drivers/clocksource/h8300_tpu.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-) > > 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; > -- > 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/