usb: ftdi-elan: remove redundant continue statement in a while-loop
authorColin Ian King <colin.king@canonical.com>
Mon, 21 Jun 2021 09:55:45 +0000 (10:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Jun 2021 12:12:09 +0000 (14:12 +0200)
The continue statement at the end of the while-loop is redundant,
remove it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Addresses-Coverity: ("Continue has no effect")
Link: https://lore.kernel.org/r/20210621095545.9659-1-colin.king@canonical.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/ftdi-elan.c

index 8a3d9c0..e5a8fcd 100644 (file)
@@ -2098,7 +2098,6 @@ more:{
                                } else
                                        d += sprintf(d, " ..");
                                bytes_read += 1;
-                               continue;
                        }
                        goto more;
                } else if (packet_bytes > 1) {