diff mbox series

USB: UDC: net2280: remove redundant continue statement

Message ID 20210617112638.9072-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit 73f3d9453dfda055aff6e5ffde37f7ee625c3f38
Headers show
Series USB: UDC: net2280: remove redundant continue statement | expand

Commit Message

Colin King June 17, 2021, 11:26 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/usb/gadget/udc/net2280.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c
index 0e0458e3662b..16e7d2db6411 100644
--- a/drivers/usb/gadget/udc/net2280.c
+++ b/drivers/usb/gadget/udc/net2280.c
@@ -2825,8 +2825,6 @@  static void defect7374_workaround(struct net2280 *dev, struct usb_ctrlrequest r)
 		 * - Wait and try again.
 		 */
 		udelay(DEFECT_7374_PROCESSOR_WAIT_TIME);
-
-		continue;
 	}