Patchwork ARM: orion5x: drop unused include from common.c

login
register
mail settings
Submitter Uwe Kleine-König
Date Nov. 4, 2013, 9:24 a.m.
Message ID <1383557043-18891-1-git-send-email-u.kleine-koenig@pengutronix.de>
Download mbox | patch
Permalink /patch/288137/
State New
Headers show

Comments

Uwe Kleine-König - Nov. 4, 2013, 9:24 a.m.
asm/times.h only defines CLOCK_TICK_RATE, cycles_t and get_cycles. All
three are not used in this file.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 arch/arm/mach-orion5x/common.c | 1 -
 1 file changed, 1 deletion(-)
Andrew Lunn - Nov. 4, 2013, 10:35 a.m.
On Mon, Nov 04, 2013 at 10:24:03AM +0100, Uwe Kleine-König wrote:
> asm/times.h only defines CLOCK_TICK_RATE, cycles_t and get_cycles. All
> three are not used in this file.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  arch/arm/mach-orion5x/common.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c
> index 91a5852..afa6b08 100644
> --- a/arch/arm/mach-orion5x/common.c
> +++ b/arch/arm/mach-orion5x/common.c
> @@ -24,7 +24,6 @@
>  #include <asm/page.h>
>  #include <asm/setup.h>
>  #include <asm/system_misc.h>
> -#include <asm/timex.h>
>  #include <asm/mach/arch.h>
>  #include <asm/mach/map.h>
>  #include <asm/mach/time.h>
> -- 
> 1.8.4.rc3
 
Hi Uwe

I build tested this patch.

Acked-by: Andrew Lunn <andrew@lunn.ch>

	  Andrew
Jason - Nov. 24, 2013, 3:05 a.m.
On Mon, Nov 04, 2013 at 10:24:03AM +0100, Uwe Kleine-König wrote:
> asm/times.h only defines CLOCK_TICK_RATE, cycles_t and get_cycles. All
> three are not used in this file.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> ---
>  arch/arm/mach-orion5x/common.c | 1 -
>  1 file changed, 1 deletion(-)

Applied to mvebu/soc with Andrew's Ack.

thx,

Jason.

Patch

diff --git a/arch/arm/mach-orion5x/common.c b/arch/arm/mach-orion5x/common.c
index 91a5852..afa6b08 100644
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
@@ -24,7 +24,6 @@ 
 #include <asm/page.h>
 #include <asm/setup.h>
 #include <asm/system_misc.h>
-#include <asm/timex.h>
 #include <asm/mach/arch.h>
 #include <asm/mach/map.h>
 #include <asm/mach/time.h>