Skip to content

Commit

Permalink
usb: storage: freecom: remove unneeded break
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tom Rix authored and Greg Kroah-Hartman committed Oct 28, 2020
1 parent 907412c commit e9b0c20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/usb/storage/freecom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e9b0c20

Please sign in to comment.