tracing: Remove an unneeded check in trace_seq_buffer()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 20 Apr 2012 06:31:45 +0000 (09:31 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 24 Apr 2012 01:16:10 +0000 (21:16 -0400)
commit5a26c8f0cf1e95106858bb4e23ca6dd14c9b842f
tree0e4d5a45f2ce667f3560a9171e11178437ca24a5
parent07d777fe8c3985bc83428c2866713c2d1b3d4129
tracing: Remove an unneeded check in trace_seq_buffer()

memcpy() returns a pointer to "bug".  Hopefully, it's not NULL here or
we would already have Oopsed.

Link: http://lkml.kernel.org/r/20120420063145.GA22649@elgon.mountain
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c