[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAFBinCCd_jr7UDdQx15tnFnZwO1tCbJ+PnZtEn57LUDtiRV_eQ@mail.gmail.com>
Date: Sat, 23 Nov 2019 10:40:12 +0100
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: Colin King <colin.king@...onical.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
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
Hi Colin,
On Fri, Nov 22, 2019 at 11:52 PM Colin King <colin.king@...onical.com> 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>
thank you for addressing this!
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Martin
Powered by blists - more mailing lists