[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200427121336.GB544@duo.ucw.cz>
Date: Mon, 27 Apr 2020 14:13:36 +0200
From: Pavel Machek <pavel@....cz>
To: Colin King <colin.king@...onical.com>
Cc: Jacek Anaszewski <jacek.anaszewski@...il.com>,
Dan Murphy <dmurphy@...com>, linux-leds@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] leds: trigger: remove redundant assignment to variable
ret
On Mon 2020-04-20 23:12:29, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The variable ret is being assigned 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>
Thanks, applied.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists