projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84524d1
)
xhci: remove redundant continue statement
author
Colin Ian King
<colin.king@canonical.com>
Fri, 18 Jun 2021 09:04:47 +0000
(10:04 +0100)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 21 Jun 2021 09:31:35 +0000
(11:31 +0200)
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>
drivers/usb/host/xhci.c
patch
|
blob
|
history
diff --git
a/drivers/usb/host/xhci.c
b/drivers/usb/host/xhci.c
index 9248ce8d09a4a3489a61f4b4f2f87b8722bc8549..3618070eba7869a9bd46d4778e0199383ed75adf 100644
(file)
--- 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;
}