USB: serial: iuu_phoenix: remove unneeded break
authorTom Rix <trix@redhat.com>
Mon, 26 Oct 2020 19:14:50 +0000 (12:14 -0700)
committerJohan Hovold <johan@kernel.org>
Tue, 27 Oct 2020 08:36:53 +0000 (09:36 +0100)
A break is not needed if it is preceded by a return.

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/iuu_phoenix.c

index b4ba79123d9dae7fb64bcf8defd6f37bfb93a3dc..f1201d4de29702b85fc22fbaa3760f21b96cd010 100644 (file)
@@ -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);