Thread (1 message) 1 message, 1 author, 2015-02-22

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

From: robert.jarzmik@free.fr (Robert Jarzmik)
Date: 2015-02-22 10:22:11
Also in: lkml

Joe Perches [off-list ref] 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@perches.com>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>

Cheers.

--
Robert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help