提交 d1849b9f 编写于 作者: T Tom Rix 提交者: Johan Hovold

USB: serial: iuu_phoenix: remove unneeded break

A break is not needed if it is preceded by a return.
Signed-off-by: NTom Rix <trix@redhat.com>
Signed-off-by: NJohan Hovold <johan@kernel.org>
上级 1fcf6891
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册