drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT
commitbed9759b2e6bd938097389f6bd2ac8d622fa3884
authorDenis Cheng <crquan@gmail.com>
Wed, 6 Feb 2008 09:37:35 +0000 (6 01:37 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 6 Feb 2008 18:41:07 +0000 (6 10:41 -0800)
tree5586289865b6d15a4ef5f82966684a651a8bcf0d
parenta18b630d1becdf1a087de644fea080c1977bcf10
drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT

single list_head variable initialized with LIST_HEAD_INIT could almost
always can be replaced with LIST_HEAD declaration, this shrinks the code
and looks better.

Signed-off-by: Denis Cheng <crquan@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Corey Minyard <minyard@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/hvc_console.c
drivers/char/hvcs.c
drivers/char/ipmi/ipmi_msghandler.c