From: Jean Delvare Date: Wed, 12 Jan 2011 20:55:11 +0000 (+0100) Subject: hwmon: (w83793) Drop useless mutex X-Git-Tag: v2.6.38-rc1~241^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36c7fe133e29a0b2558edaef18b2401e99765417;p=pandora-kernel.git 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 Cc: Hans de Goede Acked-by: Guenter Roeck Acked-by: Arnd Bergmann Acked-by: Thomas Gleixner --- Reading git-diff-tree failed