[PATCH 06/20] drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
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 <[EMAIL PROTECTED]> --- drivers/char/hvc_console.c |2 +- drivers/char/hvcs.c

[PATCH 06/20] drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT

2007-12-05 Thread Denis Cheng
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 [EMAIL PROTECTED] --- drivers/char/hvc_console.c |2 +- drivers/char/hvcs.c |