[S390] 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>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
Denis Cheng
2008-01-26 14:11:13 +01:00
committed by Martin Schwidefsky
parent c654749777
commit c11ca97ee9
6 changed files with 7 additions and 8 deletions

View File

@@ -198,8 +198,7 @@ struct iucv_connection {
/**
* Linked list of all connection structs.
*/
static struct list_head iucv_connection_list =
LIST_HEAD_INIT(iucv_connection_list);
static LIST_HEAD(iucv_connection_list);
static DEFINE_RWLOCK(iucv_connection_rwlock);
/**