From: Andrea Righi Date: Sun, 27 Jul 2008 11:39:03 +0000 (+0200) Subject: tracing: remove unused variable X-Git-Tag: v2.6.27-rc1~63 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=605ccb73f6a1c891a16268b3a2923208fc637958;p=linux-2.6-omap-h63xx.git tracing: remove unused variable Remove the following warning with CONFIG_TRACING=y: kernel/trace/trace.c: In function ‘s_next’: kernel/trace/trace.c:1186: warning: unused variable ‘last_ent’ Signed-off-by: Andrea Righi Signed-off-by: Linus Torvalds --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index fc20e09a6cb..8f3fb3db61c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -1183,7 +1183,6 @@ static void *find_next_entry_inc(struct trace_iterator *iter) static void *s_next(struct seq_file *m, void *v, loff_t *pos) { struct trace_iterator *iter = m->private; - void *last_ent = iter->ent; int i = (int)*pos; void *ent;