usb: storage: freecom: remove unneeded break
authorTom Rix <trix@redhat.com>
Mon, 26 Oct 2020 19:04:57 +0000 (12:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Oct 2020 11:22:50 +0000 (12:22 +0100)
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>
drivers/usb/storage/freecom.c

index 3d5f7d0..2b098b5 100644 (file)
@@ -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;