mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
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 <righi.andrea@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
3756144225
commit
605ccb73f6
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue