Commit 3bddb9a3 authored by Ingo Molnar's avatar Ingo Molnar

tracing: fix warning in kernel/trace/trace.c

this warning:

  kernel/trace/trace.c: In function ‘print_lat_fmt’:
  kernel/trace/trace.c:1826: warning: unused variable ‘state’

Triggers because 'state' has become unused - remove it.
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent ea3a6d6d
......@@ -1816,7 +1816,6 @@ print_lat_fmt(struct trace_iterator *iter, unsigned int trace_idx, int cpu)
char *comm;
int S, T;
int i;
unsigned state;
if (entry->type == TRACE_CONT)
return TRACE_TYPE_HANDLED;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment