Skip to contentSkip to conversation

xhci: remove redundant continue statement

PATCH New Colin King 1 participant 1 message Jun 18, 2021

Subsystems (3)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 xhci: remove redundant continue statement

From: Colin Ian King <[email protected]>

The continue statement at the end of a for-loop has no effect, remove it.

Addresses-Coverity: ("Continue has no effect")

---
 drivers/usb/host/xhci.c | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/host/xhci.c +0 -1
index 27283654ca08..38b8f9f7c68d 100644
@@ -4840,7 +4840,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;
 }
Signature · 1 line
2.31.1