[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADYN=9JiKQTPbdGFpA1oe2p_yA0eGmiLj=sTpbEyz41+ngir_A@mail.gmail.com>
Date: Tue, 1 Dec 2020 01:52:38 +0100
From: Anders Roxell <anders.roxell@...aro.org>
To: Guenter Roeck <linux@...ck-us.net>
Cc: b.zolnierkie@...sung.com, jdelvare@...e.com,
linux-hwmon@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] drivers: hwmon: pwm-fan: fix warning unused variable 'ctx'
On Tue, 1 Dec 2020 at 01:49, Guenter Roeck <linux@...ck-us.net> wrote:
>
> On Tue, Dec 01, 2020 at 01:31:18AM +0100, Anders Roxell wrote:
> > When building hwmon/pwm-fan the following unused-variable warning shows
> > up:
> >
> > /tmp/drivers/hwmon/pwm-fan.c: In function ‘pwm_fan_is_visible’:
> > /tmp/drivers/hwmon/pwm-fan.c:167:22: warning: unused variable ‘ctx’ [-Wunused-variable]
> >
> > Remove the unneeded variable declaration 'ctx'.
> >
> > Fixes: 439ed83acc19 ("hwmon: (pwm-fan) Convert to hwmon_device_register_with_info API")
> > Signed-off-by: Anders Roxell <anders.roxell@...aro.org>
>
> I already folded this change into the original patch.
That's great Guenter, I missed that. I'm sorry for the noise.
Cheers,
Anders
Powered by blists - more mailing lists