diff options
author | Tom Rix <trix@redhat.com> | 2020-10-26 12:14:50 -0700 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-10-27 09:36:53 +0100 |
commit | d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3 (patch) | |
tree | e8190d8423966236df192c52a7ccb9e78dea7d5d /drivers/usb | |
parent | 1fcf689181e95f3a289f42806fff38fb15a66b61 (diff) | |
download | linux-stable-d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3.tar.gz linux-stable-d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3.tar.bz2 linux-stable-d1849b9ff9f442b3720e07b2d6f6c5cf1b97b1a3.zip |
USB: serial: iuu_phoenix: remove unneeded break
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/iuu_phoenix.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/serial/iuu_phoenix.c b/drivers/usb/serial/iuu_phoenix.c index b4ba79123d9d..f1201d4de297 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); |