* [PATCH] rcutorture: Get rid of duplicate sched.h include
@ 2011-01-10 20:43 Jesper Juhl
2011-01-10 21:50 ` Josh Triplett
0 siblings, 1 reply; 3+ messages in thread
From: Jesper Juhl @ 2011-01-10 20:43 UTC (permalink / raw)
To: linux-kernel; +Cc: Josh Triplett, Paul E. McKenney
linux/sched.h is included twice in kernel/rcutorture.c - once is enough.
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
---
rcutorture.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c
index 89613f9..c224da4 100644
--- a/kernel/rcutorture.c
+++ b/kernel/rcutorture.c
@@ -47,7 +47,6 @@
#include <linux/srcu.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
-#include <linux/sched.h>
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Paul E. McKenney <paulmck@us.ibm.com> and "
--
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.
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] rcutorture: Get rid of duplicate sched.h include
2011-01-10 20:43 [PATCH] rcutorture: Get rid of duplicate sched.h include Jesper Juhl
@ 2011-01-10 21:50 ` Josh Triplett
2011-01-10 22:01 ` Paul E. McKenney
0 siblings, 1 reply; 3+ messages in thread
From: Josh Triplett @ 2011-01-10 21:50 UTC (permalink / raw)
To: Jesper Juhl; +Cc: linux-kernel, Paul E. McKenney
On Mon, Jan 10, 2011 at 09:43:13PM +0100, Jesper Juhl wrote:
> linux/sched.h is included twice in kernel/rcutorture.c - once is enough.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Looks like the duplicate include appeared in
8e8be45e8e55daa381028aec339829929ddb53a5.
- Josh Triplett
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] rcutorture: Get rid of duplicate sched.h include
2011-01-10 21:50 ` Josh Triplett
@ 2011-01-10 22:01 ` Paul E. McKenney
0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2011-01-10 22:01 UTC (permalink / raw)
To: Josh Triplett; +Cc: Jesper Juhl, linux-kernel
On Mon, Jan 10, 2011 at 01:50:39PM -0800, Josh Triplett wrote:
> On Mon, Jan 10, 2011 at 09:43:13PM +0100, Jesper Juhl wrote:
> > linux/sched.h is included twice in kernel/rcutorture.c - once is enough.
> >
> > Signed-off-by: Jesper Juhl <jj@chaosbits.net>
>
> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
>
> Looks like the duplicate include appeared in
> 8e8be45e8e55daa381028aec339829929ddb53a5.
Looks like something I would do. :-/
I have queued the patch and added Josh's Reviewed-by -- thank you both!
Thanx, Paul
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-10 22:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10 20:43 [PATCH] rcutorture: Get rid of duplicate sched.h include Jesper Juhl
2011-01-10 21:50 ` Josh Triplett
2011-01-10 22:01 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox