USB: UDC: net2280: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Thu, 17 Jun 2021 11:26:38 +0000 (12:26 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jun 2021 13:31:53 +0000 (15: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")
Link: https://lore.kernel.org/r/20210617112638.9072-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/net2280.c

index 0e0458e..16e7d2d 100644 (file)
@@ -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;
        }