aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-06-16 11:50:18 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-06-16 16:24:39 -0400
commit263294f3e1e883b9dcbf0c09a54b644918f7729d (patch)
treef2faa7ecd0d81becf854a36bdd0150daf291634d /kernel/trace
parent9086c7b90abbf4ec29543e8f2424e3ecd14e955d (diff)
ring-buffer: remove unused variable
Fix the compiler error: kernel/trace/ring_buffer.c: In function 'rb_move_tail': kernel/trace/ring_buffer.c:1236: warning: unused variable 'event' Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/ring_buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c
index dbc0f93396aa..e857e9443987 100644
--- a/kernel/trace/ring_buffer.c
+++ b/kernel/trace/ring_buffer.c
@@ -1233,7 +1233,6 @@ rb_move_tail(struct ring_buffer_per_cpu *cpu_buffer,
1233{ 1233{
1234 struct buffer_page *next_page, *head_page, *reader_page; 1234 struct buffer_page *next_page, *head_page, *reader_page;
1235 struct ring_buffer *buffer = cpu_buffer->buffer; 1235 struct ring_buffer *buffer = cpu_buffer->buffer;
1236 struct ring_buffer_event *event;
1237 bool lock_taken = false; 1236 bool lock_taken = false;
1238 unsigned long flags; 1237 unsigned long flags;
1239 1238