[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200226133542.GC4080@duo.ucw.cz>
Date: Wed, 26 Feb 2020 14:35:42 +0100
From: Pavel Machek <pavel@....cz>
To: YueHaibing <yuehaibing@...wei.com>
Cc: Jacek Anaszewski <jacek.anaszewski@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Dan Murphy <dmurphy@...com>, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -next] leds: leds-bd2802: remove set but not used
variable 'pdata'
On Wed 2020-01-08 01:53:22, YueHaibing wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> drivers/leds/leds-bd2802.c: In function 'bd2802_probe':
> drivers/leds/leds-bd2802.c:663:35: warning:
> variable 'pdata' set but not used [-Wunused-but-set-variable]
>
> commit 4c3718f9d6a6 ("leds: bd2802: Convert to use GPIO descriptors")
> left behind this unused variable.
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.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