From: Arnd Bergmann <arnd@arndb.de>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] hwmon: (w83793) Drop useless mutex
Date: Mon, 29 Nov 2010 16:53:42 +0000 [thread overview]
Message-ID: <201011291753.42806.arnd@arndb.de> (raw)
In-Reply-To: <20101129141659.3429d849@endymion.delvare>
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\x125563869402323&w=2
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Hans de Goede <hdegoede@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2010-11-29 16:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-29 13:16 [lm-sensors] hwmon: (w83793) Drop useless mutex Jean Delvare
2010-11-29 14:53 ` Guenter Roeck
2010-11-29 16:53 ` Arnd Bergmann [this message]
2010-11-29 16:56 ` Thomas Gleixner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201011291753.42806.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.