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