mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
66656ebb5b
commit
e381d1c460
@ -441,7 +441,7 @@ struct watcher_entry {
|
||||
int ipmi_smi_watcher_register(struct ipmi_smi_watcher *watcher)
|
||||
{
|
||||
ipmi_smi_t intf;
|
||||
struct list_head to_deliver = LIST_HEAD_INIT(to_deliver);
|
||||
LIST_HEAD(to_deliver);
|
||||
struct watcher_entry *e, *e2;
|
||||
|
||||
mutex_lock(&smi_watchers_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user