includecheck fix: include/linux, ftrace.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 20 Sep 2009 10:54:00 +0000 (16:24 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 20 Sep 2009 11:28:35 +0000 (16:58 +0530)
fix the following 'make includecheck' warning:

  include/linux/ftrace.h: linux/sched.h is included more than once.

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Sam Ravnborg <sam@ravnborg.org>
LKML-Reference: <1247068321.4382.102.camel@ht.satnam>

include/linux/ftrace.h

index dc3b1328aaeb6146f0593fafbdbfcde9eeaf8bc2..3c0924a18dafd0bac336e1c45b79a080ea834e55 100644 (file)
@@ -446,7 +446,6 @@ static inline void unpause_graph_tracing(void) { }
 #endif /* CONFIG_FUNCTION_GRAPH_TRACER */
 
 #ifdef CONFIG_TRACING
-#include <linux/sched.h>
 
 /* flags for current->trace */
 enum {