iio: light: si1145: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Thu, 17 Jun 2021 08:13:12 +0000 (09:13 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 19 Jul 2021 08:52:00 +0000 (09:52 +0100)
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>
Link: https://lore.kernel.org/r/20210617081312.151746-1-colin.king@canonical.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/light/si1145.c

index e2abad4..e8f6cdf 100644 (file)
@@ -220,7 +220,6 @@ static int __si1145_command_reset(struct si1145_data *data)
                        return -ETIMEDOUT;
                }
                msleep(SI1145_COMMAND_MINSLEEP_MS);
-               continue;
        }
 }