From: Steven Rostedt Date: Tue, 16 Jun 2009 15:50:18 +0000 (-0400) Subject: ring-buffer: remove unused variable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=263294f3e1e883b9dcbf0c09a54b644918f7729d;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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, { struct buffer_page *next_page, *head_page, *reader_page; struct ring_buffer *buffer = cpu_buffer->buffer; - struct ring_buffer_event *event; bool lock_taken = false; unsigned long flags;