[for-next][PATCH 4/5] tracing: Remove unused variable in trace_benchmark
From: Steven Rostedt
Date: Thu Jun 05 2014 - 11:21:23 EST
From: "Steven Rostedt (Red Hat)" <rostedt@xxxxxxxxxxx>
Somehow this unused variable warning sneaked past my warnings check
(probably due to it depending on a new config).
kernel/trace/trace_benchmark.c: In function 'trace_do_benchmark':
kernel/trace/trace_benchmark.c:38:6: warning: unused variable 'seedsq' [-Wunused-variable]
u64 seedsq;
^
Link: http://lkml.kernel.org/r/20140604160921.4f4e69c4@xxxxxxxxxxxxxxxx
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Steven Rostedt <rostedt@xxxxxxxxxxx>
---
kernel/trace/trace_benchmark.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/kernel/trace/trace_benchmark.c b/kernel/trace/trace_benchmark.c
index 7dc1c42dfee2..a10adc7095cd 100644
--- a/kernel/trace/trace_benchmark.c
+++ b/kernel/trace/trace_benchmark.c
@@ -35,7 +35,6 @@ static void trace_do_benchmark(void)
u64 delta;
s64 stddev;
u64 seed;
- u64 seedsq;
u64 last_seed;
unsigned int avg;
unsigned int std = 0;
--
2.0.0.rc2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/