From: Steven Rostedt (Red Hat) Date: Wed, 12 Nov 2014 16:49:00 +0000 (-0500) Subject: ring-buffer: Remove check of trace_seq_{puts,printf}() return values X-Git-Tag: omap-for-v3.20/drop-legacy-3517~136^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0cd93aa1640a48038bacbee093695f892ea0130;p=pandora-kernel.git 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 Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed