aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Cheng <crquan@gmail.com>2008-02-06 04:37:39 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-06 13:41:07 -0500
commite381d1c46037aa4191c35e7514191bb3de739cbc (patch)
tree7f865ea33d32cd3fb80403a54c09c61552a9d709 /drivers
parent66656ebb5bf3f94aaeca1fbd369672bba980babf (diff)
drivers/char/ipmi/ipmi_msghandler.c: use LIST_HEAD instead of LIST_HEAD_INIT
Signed-off-by: Denis Cheng <crquan@gmail.com> Cc: Corey Minyard <minyard@acm.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/ipmi/ipmi_msghandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c
index d01c4ff88e63..32b2b22996dc 100644
--- a/drivers/char/ipmi/ipmi_msghandler.c
+++ b/drivers/char/ipmi/ipmi_msghandler.c
@@ -441,7 +441,7 @@ struct watcher_entry {
441int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher) 441int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher)
442{ 442{
443 ipmi_smi_t intf; 443 ipmi_smi_t intf;
444 struct list_head to_deliver = LIST_HEAD_INIT(to_deliver); 444 LIST_HEAD(to_deliver);
445 struct watcher_entry *e, *e2; 445 struct watcher_entry *e, *e2;
446 446
447 mutex_lock(&smi_watchers_mutex); 447 mutex_lock(&smi_watchers_mutex);