aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
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
parent9086c7b90abbf4ec29543e8f2424e3ecd14e955d (diff)
downloadkernel_samsung_espresso10-263294f3e1e883b9dcbf0c09a54b644918f7729d.zip
kernel_samsung_espresso10-263294f3e1e883b9dcbf0c09a54b644918f7729d.tar.gz
kernel_samsung_espresso10-263294f3e1e883b9dcbf0c09a54b644918f7729d.tar.bz2
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')
-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 dbc0f93..e857e94 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;