[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200402164821.GQ3683@piout.net>
Date: Thu, 2 Apr 2020 18:48:21 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: Colin King <colin.king@...onical.com>
Cc: Alessandro Zummo <a.zummo@...ertech.it>, linux-rtc@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] rtc: class: remove redundant assignment to
variable err
On 02/04/2020 12:04:11+0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable err is being initialized with a value that is never read
> and it is being updated later with a new value. The initialization
> is redundant and can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> ---
> drivers/rtc/class.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