summaryrefslogtreecommitdiff
path: root/drivers/usb/storage
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-26 12:04:57 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-28 12:22:50 +0100
commite9b0c20441294717c764c80c171f37c5a5d82ac9 (patch)
treeea07061e6242161150cd02538667756ddfe315c8 /drivers/usb/storage
parent907412c0bb2340e699b5bd1eeafa9d597d2d3045 (diff)
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>
Diffstat (limited to 'drivers/usb/storage')
-rw-r--r--drivers/usb/storage/freecom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/storage/freecom.c b/drivers/usb/storage/freecom.c
index 3d5f7d0ff0f1..2b098b55c4cb 100644
--- a/drivers/usb/storage/freecom.c
+++ b/drivers/usb/storage/freecom.c
@@ -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;