projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907412c
)
usb: storage: freecom: remove unneeded break
author
Tom Rix
<trix@redhat.com>
Mon, 26 Oct 2020 19:04:57 +0000
(12:04 -0700)
committer
Greg 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
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/freecom.c
b/drivers/usb/storage/freecom.c
index
3d5f7d0
..
2b098b5
100644
(file)
--- 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;