aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-mem.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2020-10-26 11:58:12 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-10-28 12:23:06 +0100
commit12cb474a0f8e78228a166a665f55147b7d79ae2e (patch)
treea3ce76fbe8ec8a868dbf0bb29f1675e6ea56a7ee /drivers/usb/host/xhci-mem.c
parentusb: storage: freecom: remove unneeded break (diff)
downloadlinux-dev-12cb474a0f8e78228a166a665f55147b7d79ae2e.tar.xz
linux-dev-12cb474a0f8e78228a166a665f55147b7d79ae2e.zip
usb: host: xhci-mem: 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/20201026185812.1427461-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-mem.c')
-rw-r--r--drivers/usb/host/xhci-mem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c
index fe405cd38dbc..b46ef45c4d25 100644
--- 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;