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>
This commit is contained in:
parent
1fcf689181
commit
d1849b9ff9
|
@ -850,7 +850,6 @@ static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base,
|
||||||
default:
|
default:
|
||||||
kfree(dataout);
|
kfree(dataout);
|
||||||
return IUU_INVALID_PARAMETER;
|
return IUU_INVALID_PARAMETER;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (parity & 0xF0) {
|
switch (parity & 0xF0) {
|
||||||
|
@ -864,7 +863,6 @@ static int iuu_uart_baud(struct usb_serial_port *port, u32 baud_base,
|
||||||
default:
|
default:
|
||||||
kfree(dataout);
|
kfree(dataout);
|
||||||
return IUU_INVALID_PARAMETER;
|
return IUU_INVALID_PARAMETER;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
status = bulk_immediate(port, dataout, DataCount);
|
status = bulk_immediate(port, dataout, DataCount);
|
||||||
|
|
Loading…
Reference in New Issue