mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
USB: serial: drop unnecessary goto
Drop an unnecessary goto from a write-urb completion error path. Signed-off-by: Johan Hovold <johan@kernel.org>
This commit is contained in:
parent
a8d78d9f38
commit
5b67b10a52
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue