[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20191126221404.GT299836@piout.net>
Date: Tue, 26 Nov 2019 23:14:04 +0100
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Colin King <colin.king@...onical.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Kevin Hilman <khilman@...libre.com>, linux-rtc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rtc: meson: remove redundant assignment to variable
retries
On 22/11/2019 22:52:10+0000, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable retries is being initialized with a value that is never
> read and it is being updated later with a new value in a for-loop.
> The initialization is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/rtc/rtc-meson.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists