projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13efdc3
)
iio: light: si1145: remove redundant continue statement
author
Colin Ian King
<colin.king@canonical.com>
Thu, 17 Jun 2021 08:13:12 +0000
(09:13 +0100)
committer
Jonathan 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
patch
|
blob
|
history
diff --git
a/drivers/iio/light/si1145.c
b/drivers/iio/light/si1145.c
index
e2abad4
..
e8f6cdf
100644
(file)
--- 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;
}
}