[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210718154439.32d89fa4@jic23-huawei>
Date: Sun, 18 Jul 2021 15:44:39 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: Colin King <colin.king@...onical.com>
Cc: Lars-Peter Clausen <lars@...afoo.de>, linux-iio@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: light: si1145: remove redundant continue statement
On Thu, 17 Jun 2021 09:13:12 +0100
Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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@...onical.com>
Applied.
Thanks,
Jonathan
> ---
> drivers/iio/light/si1145.c | 1 -
> 1 file changed, 1 deletion(-)
>
> 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;
> }
> }
>
Powered by blists - more mailing lists