aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2008-12-18 19:03:29 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-18 19:01:25 -0500
commit3bddb9a3246f6df5cf3b7655cb541ac10203bb71 (patch)
treedb6f85196d38c0e6ca62edd8af8654e07961c902 /kernel/trace
parentea3a6d6d60b2504c573fe3415f6617e8310c0236 (diff)
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>
Diffstat (limited to 'kernel/trace')
-rw-r--r--kernel/trace/trace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 1a3d6b329782..49fc7201295e 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)
1816 char *comm; 1816 char *comm;
1817 int S, T; 1817 int S, T;
1818 int i; 1818 int i;
1819 unsigned state;
1820 1819
1821 if (entry->type == TRACE_CONT) 1820 if (entry->type == TRACE_CONT)
1822 return TRACE_TYPE_HANDLED; 1821 return TRACE_TYPE_HANDLED;