Skip to content

Commit

Permalink
tracing: fix warning in kernel/trace/trace.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ingo Molnar committed Dec 19, 2008
1 parent ea3a6d6 commit 3bddb9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/trace/trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3bddb9a

Please sign in to comment.