includecheck fix: kernel/trace, ring_buffer.c
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 20 Sep 2009 11:01:16 +0000 (16:31 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Sun, 20 Sep 2009 11:28:56 +0000 (16:58 +0530)
fix the following 'make includecheck' warning:

  kernel/trace/ring_buffer.c: trace.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: <1247068617.4382.107.camel@ht.satnam>

kernel/trace/ring_buffer.c

index 6eef38923b07eb9473bbb38fca2ccb8f0643aebe..d4ff01970547ac7da986d1f90ddefc8c870b30ae 100644 (file)
@@ -201,8 +201,6 @@ int tracing_is_on(void)
 }
 EXPORT_SYMBOL_GPL(tracing_is_on);
 
-#include "trace.h"
-
 #define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array))
 #define RB_ALIGNMENT           4U
 #define RB_MAX_SMALL_DATA      (RB_ALIGNMENT * RINGBUF_TYPE_DATA_TYPE_LEN_MAX)