ring-buffer: Remove check of trace_seq_{puts,printf}() return values
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>
Wed, 12 Nov 2014 16:49:00 +0000 (11:49 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Wed, 19 Nov 2014 20:25:40 +0000 (15:25 -0500)
commitc0cd93aa1640a48038bacbee093695f892ea0130
treeeeb08bddbec6c7c728d2a9636148306a3705ff96
parentf4a1d08ce65d7156504f2f0eac26f47dfc9120e6
ring-buffer: Remove check of trace_seq_{puts,printf}() return values

Remove checking the return value of all trace_seq_puts(). It was wrong
anyway as only the last return value mattered. But as the trace_seq_puts()
is going to be a void function in the future, we should not be checking
the return value of it anyway.

Just return !trace_seq_has_overflowed() instead.

Reviewed-by: Petr Mladek <pmladek@suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/ring_buffer.c