diff options
author | Jean Delvare <khali@linux-fr.org> | 2011-01-12 21:55:11 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2011-01-12 21:55:11 +0100 |
commit | 36c7fe133e29a0b2558edaef18b2401e99765417 (patch) | |
tree | acf904bde2e82ee480c8c9cc37f70bf52e680466 /Documentation | |
parent | 1b7243e8f51157103dcca33236163a191c8afd01 (diff) | |
download | linux-36c7fe133e29a0b2558edaef18b2401e99765417.tar.bz2 |
hwmon: (w83793) Drop useless mutex
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@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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions