hwmon: (fschmd) Drop useless mutex
commit1b7243e8f51157103dcca33236163a191c8afd01
authorJean Delvare <khali@linux-fr.org>
Wed, 12 Jan 2011 20:55:11 +0000 (12 21:55 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 12 Jan 2011 20:55:11 +0000 (12 21:55 +0100)
tree2253a2b45164f4d4ca9e384eb0eefa56dfb04860
parent1ca28218eb57143d9ae6298f10c8a193696458a8
hwmon: (fschmd) Drop useless mutex

As discussed one year ago, 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@linux-fr.org>
Cc: Hans de Goede <hdegoede@redhat.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
drivers/hwmon/fschmd.c