Commit 5b67b10a authored by Johan Hovold's avatar Johan Hovold

USB: serial: drop unnecessary goto

Drop an unnecessary goto from a write-urb completion error path.
Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
parent a8d78d9f
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment