[PATCH][trivial] ARM, OMAP, timer: Remove duplicate inclusion of linux/sched.h from arch/arm/mach-omap1/time.c

Subsystems: arm port, omap1 support, the rest

STALE5689d

2 messages, 2 authors, 2011-02-04 · open the first message on its own page

[PATCH][trivial] ARM, OMAP, timer: Remove duplicate inclusion of linux/sched.h from arch/arm/mach-omap1/time.c

From: Jesper Juhl <hidden>
Date: 2011-02-03 21:59:19

arch/arm/mach-omap1/time.c includes linux/sched.h twice - it's enough to 
do it once. This removes the duplicate.

Signed-off-by: Jesper Juhl <redacted>
---
 time.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-omap1/time.c b/arch/arm/mach-omap1/time.c
index f83fc33..6885d2f 100644
--- a/arch/arm/mach-omap1/time.c
+++ b/arch/arm/mach-omap1/time.c
@@ -44,7 +44,6 @@
 #include <linux/clocksource.h>
 #include <linux/clockchips.h>
 #include <linux/io.h>
-#include <linux/sched.h>
 
 #include <asm/system.h>
 #include <mach/hardware.h>

-- 
Jesper Juhl <jj@chaosbits.net>            http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.

Re: [PATCH][trivial] ARM, OMAP, timer: Remove duplicate inclusion of linux/sched.h from arch/arm/mach-omap1/time.c

From: Tony Lindgren <tony@atomide.com>
Date: 2011-02-04 01:30:19

* Jesper Juhl [off-list ref] [110203 13:57]:
arch/arm/mach-omap1/time.c includes linux/sched.h twice - it's enough to 
do it once. This removes the duplicate.
Thanks, already have a similar fix queued in my devel-fixes branch.

Regards,

Tony
 
quoted hunk
Signed-off-by: Jesper Juhl <redacted>
---
 time.c |    1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/arm/mach-omap1/time.c b/arch/arm/mach-omap1/time.c
index f83fc33..6885d2f 100644
--- a/arch/arm/mach-omap1/time.c
+++ b/arch/arm/mach-omap1/time.c
@@ -44,7 +44,6 @@
 #include <linux/clocksource.h>
 #include <linux/clockchips.h>
 #include <linux/io.h>
-#include <linux/sched.h>
 
 #include <asm/system.h>
 #include <mach/hardware.h>

-- 
Jesper Juhl <jj@chaosbits.net>            http://www.chaosbits.net/
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help