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:
Ingo Molnar 2008-12-19 01:03:29 +01:00
parent ea3a6d6d60
commit 3bddb9a324
1 changed files with 0 additions and 1 deletions

View File

@ -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;