Commit ab37ac69 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman
Browse files

xhci: remove redundant continue statement



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

Signed-off-by: default avatarColin 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 84524d12
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
}