[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201026191450.1429945-1-trix@redhat.com>
Date: Mon, 26 Oct 2020 12:14:50 -0700
From: trix@...hat.com
To: johan@...nel.org, gregkh@...uxfoundation.org
Cc: linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
Tom Rix <trix@...hat.com>
Subject: [PATCH v2] usb: serial: iuu_phoenix remove unneeded break
From: Tom Rix <trix@...hat.com>
A break is not needed if it is preceded by a return.
Signed-off-by: Tom Rix <trix@...hat.com>
---
v2: split from original larger patch
---
drivers/usb/serial/iuu_phoenix.c | 2 --
1 file changed, 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);
--
2.18.1
Powered by blists - more mailing lists