Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Denis Cheng and committed by
Linus Torvalds
e381d1c4 66656ebb

+1 -1
+1 -1
drivers/char/ipmi/ipmi_msghandler.c
··· 441 441 int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher) 442 442 { 443 443 ipmi_smi_t intf; 444 - struct list_head to_deliver = LIST_HEAD_INIT(to_deliver); 444 + LIST_HEAD(to_deliver); 445 445 struct watcher_entry *e, *e2; 446 446 447 447 mutex_lock(&smi_watchers_mutex);