projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d78d9
)
USB: serial: drop unnecessary goto
author
Johan Hovold
<johan@kernel.org>
Thu, 25 Apr 2019 16:05:38 +0000
(18:05 +0200)
committer
Johan Hovold
<johan@kernel.org>
Tue, 30 Apr 2019 08:25:04 +0000
(10:25 +0200)
Drop an unnecessary goto from a write-urb completion error path.
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/generic.c
patch
|
blob
|
history
diff --git
a/drivers/usb/serial/generic.c
b/drivers/usb/serial/generic.c
index
67cef3e
..
1be8bea
100644
(file)
--- a/
drivers/usb/serial/generic.c
+++ b/
drivers/usb/serial/generic.c
@@
-463,10
+463,9
@@
void usb_serial_generic_write_bulk_callback(struct urb *urb)
default:
dev_err_console(port, "%s - nonzero urb status: %d\n",
__func__, status);
-
goto resubmit
;
+
break
;
}
-resubmit:
usb_serial_generic_write_start(port, GFP_ATOMIC);
usb_serial_port_softint(port);
}