diff options
author | Joe Perches <joe@perches.com> | 2015-02-22 05:53:37 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-10 23:33:16 +0300 |
commit | 25140ce627f43df1d425d591ac3d360b48ae24e1 (patch) | |
tree | cfc9046e9aa0b39e8c561fd9d7eba9ff8228f8fc /drivers/usb/dwc3/dwc3-pci.c | |
parent | 8f2c9544aba636134303105ecb164190a39dece4 (diff) | |
download | linux-25140ce627f43df1d425d591ac3d360b48ae24e1.tar.xz |
usb: gadget: udc: pxa27x_udc: Remove use of seq_printf return value
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.
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
0 files changed, 0 insertions, 0 deletions