tracing: Remove unused variable in trace_benchmark
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 4 Jun 2014 17:36:29 +0000 (13:36 -0400)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 4 Jun 2014 17:36:29 +0000 (13:36 -0400)
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>
kernel/trace/trace_benchmark.c

index 7dc1c42dfee2400ce4b23381710a69c6d539e872..a10adc7095cdf6a362900c958d4c23f4f95254a5 100644 (file)
@@ -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;