summaryrefslogtreecommitdiffstats
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-06-16 17:50:18 +0200
committerSteven Rostedt <rostedt@goodmis.org>2009-06-16 22:24:39 +0200
commit263294f3e1e883b9dcbf0c09a54b644918f7729d (patch)
treef2faa7ecd0d81becf854a36bdd0150daf291634d /kernel/trace/ring_buffer.c
parentring-buffer: have benchmark test handle discarded events (diff)
downloadlinux-263294f3e1e883b9dcbf0c09a54b644918f7729d.tar.xz
linux-263294f3e1e883b9dcbf0c09a54b644918f7729d.zip
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/ring_buffer.c')
-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,
{
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;