2008-10-14 23:30:11

by Huang Weiyi

[permalink] [raw]
Subject: m68k: remove duplicated #include

Removed duplicated include <linux/smp_lock.h> in
arch/m68k/bvme6000/rtc.c.

Signed-off-by: Huang Weiyi <[email protected]>

diff --git a/arch/m68k/bvme6000/rtc.c b/arch/m68k/bvme6000/rtc.c
index e8ac3f7..24d848b 100644
--- a/arch/m68k/bvme6000/rtc.c
+++ b/arch/m68k/bvme6000/rtc.c
@@ -18,7 +18,6 @@
#include <linux/poll.h>
#include <linux/module.h>
#include <linux/mc146818rtc.h> /* For struct rtc_time and ioctls, etc */
-#include <linux/smp_lock.h>
#include <linux/bcd.h>
#include <asm/bvme6000hw.h>


2008-10-15 07:56:00

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: m68k: remove duplicated #include

On Wed, 15 Oct 2008, Huang Weiyi wrote:
> Removed duplicated include <linux/smp_lock.h> in
> arch/m68k/bvme6000/rtc.c.
>
> Signed-off-by: Huang Weiyi <[email protected]>

Thanks! Queued for 2.6.29.

BTW, our patch is whitespace-challenged (tab -> space).

> diff --git a/arch/m68k/bvme6000/rtc.c b/arch/m68k/bvme6000/rtc.c
> index e8ac3f7..24d848b 100644
> --- a/arch/m68k/bvme6000/rtc.c
> +++ b/arch/m68k/bvme6000/rtc.c
> @@ -18,7 +18,6 @@
> #include <linux/poll.h>
> #include <linux/module.h>
> #include <linux/mc146818rtc.h> /* For struct rtc_time and ioctls, etc */
> -#include <linux/smp_lock.h>
> #include <linux/bcd.h>
> #include <asm/bvme6000hw.h>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds