aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-18 10:04:47 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-21 11:31:35 +0200
commitab37ac690ed08c5f41723f2143e3b9e682f031e6 (patch)
tree50d8d24eae88f073b4c59c80ed01b9f94fb206c8 /drivers/usb
parentusb: dwc3: Fix debugfs creation flow (diff)
downloadlinux-dev-ab37ac690ed08c5f41723f2143e3b9e682f031e6.tar.xz
linux-dev-ab37ac690ed08c5f41723f2143e3b9e682f031e6.zip
xhci: remove redundant continue statement
The continue statement at the end of a for-loop has no effect, remove it. Signed-off-by: Colin Ian King <colin.king@canonical.com> Addresses-Coverity: ("Continue has no effect") Cc: Mathias Nyman <mathias.nyman@intel.com> Link: https://lore.kernel.org/r/20210618090447.99114-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 9248ce8d09a4..3618070eba78 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -4845,7 +4845,6 @@ static int xhci_update_timeout_for_interface(struct xhci_hcd *xhci,
if (xhci_update_timeout_for_endpoint(xhci, udev,
&alt->endpoint[j].desc, state, timeout))
return -E2BIG;
- continue;
}
return 0;
}