summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-21 10:55:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-06-24 14:12:09 +0200
commit269072a3d9073aa975f4f16bdfd828c6ab15e755 (patch)
tree1a121f42d364a1e851bd02408c8eb22ad1166ee8 /drivers/usb/misc
parent42601e356bfa8123e44a3d726d4abd4164a71f7c (diff)
downloadlinux-269072a3d9073aa975f4f16bdfd828c6ab15e755.tar.bz2
usb: ftdi-elan: remove redundant continue statement in a while-loop
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>
Diffstat (limited to 'drivers/usb/misc')
-rw-r--r--drivers/usb/misc/ftdi-elan.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/misc/ftdi-elan.c b/drivers/usb/misc/ftdi-elan.c
index 8a3d9c0c8d8b..e5a8fcdbb78e 100644
--- a/drivers/usb/misc/ftdi-elan.c
+++ b/drivers/usb/misc/ftdi-elan.c
@@ -2098,7 +2098,6 @@ more:{
} else
d += sprintf(d, " ..");
bytes_read += 1;
- continue;
}
goto more;
} else if (packet_bytes > 1) {