From: Tom Rix Date: Mon, 26 Oct 2020 19:14:50 +0000 (-0700) Subject: USB: serial: iuu_phoenix: remove unneeded break X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3;p=linux.git USB: serial: iuu_phoenix: remove unneeded break A break is not needed if it is preceded by a return. Signed-off-by: Tom Rix Signed-off-by: Johan Hovold --- diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index b4ba79123d9da..f1201d4de2970 100644 --- a/drivers/usb/serial/iuu_phoenix.c +++ b/drivers/usb/serial/iuu_phoenix.c @@ -850,7 +850,6 @@ static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, default: kfree(dataout); return IUU_INVALID_PARAMETER; - break; } switch (parity & 0xF0) { @@ -864,7 +863,6 @@ static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base, default: kfree(dataout); return IUU_INVALID_PARAMETER; - break; } status = bulk_immediate(port, dataout, DataCount);