Skip to content

Commit a0f320f

Browse files
includecheck fix: kernel/trace, ring_buffer.c
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>
1 parent 83ba7c3 commit a0f320f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/trace/ring_buffer.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,6 @@ int tracing_is_on(void)
201201
}
202202
EXPORT_SYMBOL_GPL(tracing_is_on);
203203

204-
#include "trace.h"
205-
206204
#define RB_EVNT_HDR_SIZE (offsetof(struct ring_buffer_event, array))
207205
#define RB_ALIGNMENT 4U
208206
#define RB_MAX_SMALL_DATA (RB_ALIGNMENT * RINGBUF_TYPE_DATA_TYPE_LEN_MAX)

0 commit comments

Comments
 (0)