[PATCH 10/27] pxa27x_udc: Remove use of seq_printf return value

Robert Jarzmik robert.jarzmik at free.fr
Sun Feb 22 02:22:01 PST 2015


Joe Perches <joe at perches.com> writes:

> The seq_printf return value, because it's frequently misused,
> will eventually be converted to void.
>
> See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to
>      seq_has_overflowed() and make public")
>
> While there, simplify the error handler logic by returning
> immediately and remove the unnecessary labels.
>
> Signed-off-by: Joe Perches <joe at perches.com>
Tested-by: Robert Jarzmik <robert.jarzmik at free.fr>

Cheers.

--
Robert



More information about the linux-arm-kernel mailing list