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
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 |
2 matches
Mail list logo