summaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2021-06-17 10:13:12 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-07-19 10:52:00 +0200
commitb44ab6fdba6144c06ea543144b6888ac77fd2e17 (patch)
treefdde1dce1473c3ac14e49df072ecbe147c85cf92 /drivers/iio
parentiio: core: Support reading extended name as label (diff)
downloadlinux-b44ab6fdba6144c06ea543144b6888ac77fd2e17.tar.xz
linux-b44ab6fdba6144c06ea543144b6888ac77fd2e17.zip
iio: light: si1145: remove redundant continue statement
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>
Diffstat (limited to 'drivers/iio')
-rw-r--r--drivers/iio/light/si1145.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iio/light/si1145.c b/drivers/iio/light/si1145.c
index e2abad48b9f4..e8f6cdf26f22 100644
--- a/drivers/iio/light/si1145.c
+++ b/drivers/iio/light/si1145.c
@@ -220,7 +220,6 @@ static int __si1145_command_reset(struct si1145_data *data)
return -ETIMEDOUT;
}
msleep(SI1145_COMMAND_MINSLEEP_MS);
- continue;
}
}