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: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ea3a6d6d60
commit
3bddb9a324
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user