]> Pileus Git - ~andy/linux/commit
tracing: Remove unneeded check of max_tr->buffer before tracing_reset
authorSteven Rostedt <srostedt@redhat.com>
Fri, 21 Dec 2012 02:43:52 +0000 (21:43 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Mon, 21 Jan 2013 18:22:33 +0000 (13:22 -0500)
commit84c6cf0db6a00601eb43cfc08244a398ffb0894c
tree2e391b758e930ab062c80462ffdc4de5930be6c4
parenta54164114b96b4693b42cdb553260eec41ea4393
tracing: Remove unneeded check of max_tr->buffer before tracing_reset

There's now a check in tracing_reset_online_cpus() if the buffer is
allocated or NULL. No need to do a check before calling it with max_tr.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c