Re: hwmon: (w83793) Drop useless mutex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Mon, 29 Nov 2010, Arnd Bergmann wrote:

> On Monday 29 November 2010, Jean Delvare wrote:
> > This is the same case as fschmd, from which the code was copied as far
> > as I can see. So the same clean-up applies:
> > 
> > The WDIOC_GETSUPPORT ioctl only needs a mutex because it operates on a
> > static variable. There is no good reason to keep this variable static,
> > so let's just make it non-static and drop the now useless mutex
> > altogether.
> > 
> > See the discussion at:
> > http://marc.info/?l=lm-sensors&m=125563869402323&w=2
> > 
> > Signed-off-by: Jean Delvare <khali@xxxxxxxxxxxx>
> > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > Cc: Arnd Bergmann <arnd@xxxxxxxx>
> > Cc: Hans de Goede <hdegoede@xxxxxxxxxx>
> 
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>

_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors


[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux