mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 11:44:01 +08: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
@ -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…
Reference in New Issue
Block a user