diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2014-06-04 13:36:29 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2014-06-04 13:36:29 -0400 |
commit | 195d28020147843dcf809730b2e9d876722371e6 (patch) | |
tree | 005fd8a4fc1c497d1d43855ac0cd5106406491f4 /kernel | |
parent | 198376cd8877a612cc6494201b815c36d1e40391 (diff) | |
download | linux-195d28020147843dcf809730b2e9d876722371e6.tar.gz |
tracing: Remove unused variable in trace_benchmark
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@canb.auug.org.au
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/trace/trace_benchmark.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |