Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);
}