From: Ingo Molnar Date: Fri, 19 Dec 2008 00:03:29 +0000 (+0100) Subject: tracing: fix warning in kernel/trace/trace.c X-Git-Tag: v2.6.29-rc1~586^2~4 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3bddb9a3246f6df5cf3b7655cb541ac10203bb71;p=linux-2.6-omap-h63xx.git 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 --- diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 1a3d6b32978..49fc7201295 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -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;