diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-06-21 11:55:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-24 14:12:09 +0200 |
commit | 269072a3d9073aa975f4f16bdfd828c6ab15e755 (patch) | |
tree | 1a121f42d364a1e851bd02408c8eb22ad1166ee8 /drivers/usb/misc | |
parent | usb: class: cdc-wdm: return the correct errno code (diff) | |
download | linux-269072a3d9073aa975f4f16bdfd828c6ab15e755.tar.xz linux-269072a3d9073aa975f4f16bdfd828c6ab15e755.zip |
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.c | 1 |
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) { |