mirror of https://gitee.com/openkylin/linux.git
usb: storage: freecom: remove unneeded break
A break is not needed if it is preceded by a return. Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20201026190457.1428516-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
907412c0bb
commit
e9b0c20441
|
@ -431,7 +431,6 @@ static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us)
|
|||
us->srb->sc_data_direction);
|
||||
/* Return fail, SCSI seems to handle this better. */
|
||||
return USB_STOR_TRANSPORT_FAILED;
|
||||
break;
|
||||
}
|
||||
|
||||
return USB_STOR_TRANSPORT_GOOD;
|
||||
|
|
Loading…
Reference in New Issue