Skip to content

Commit

Permalink
tracing: Remove unused variable in trace_benchmark
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Steven Rostedt (Red Hat) committed Jun 4, 2014
1 parent 198376c commit 195d280
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kernel/trace/trace_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 195d280

Please sign in to comment.