projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9b0c20
)
usb: host: xhci-mem: remove unneeded break
author
Tom Rix
<trix@redhat.com>
Mon, 26 Oct 2020 18:58:12 +0000
(11:58 -0700)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 28 Oct 2020 11:23:06 +0000
(12:23 +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/20201026185812.1427461-1-trix@redhat.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci-mem.c
b/drivers/usb/host/xhci-mem.c
index fe405cd38dbc11790b5fd91e41d78f8136c306e9..b46ef45c4d257e90af26c4d0377fdfd7bef62c1f 100644
(file)
--- a/
drivers/usb/host/xhci-mem.c
+++ b/
drivers/usb/host/xhci-mem.c
@@
-1144,7
+1144,6
@@
int xhci_setup_addressable_virt_dev(struct xhci_hcd *xhci, struct usb_device *ud
case USB_SPEED_WIRELESS:
xhci_dbg(xhci, "FIXME xHCI doesn't support wireless speeds\n");
return -EINVAL;
- break;
default:
/* Speed was set earlier, this shouldn't happen. */
return -EINVAL;