diff options
author | Denis Cheng <crquan@gmail.com> | 2008-01-26 16:11:13 +0300 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 16:11:21 +0300 |
commit | c11ca97ee9d2ed593ab7b5523def7787b46f398f (patch) | |
tree | 16aef050d593095b1d3e3f176412a82eb88dd13f /drivers/s390/net/netiucv.c | |
parent | c654749777e8624187b53fbb94cea91a7bf74347 (diff) | |
download | linux-c11ca97ee9d2ed593ab7b5523def7787b46f398f.tar.xz |
[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>
Diffstat (limited to 'drivers/s390/net/netiucv.c')
-rw-r--r-- | drivers/s390/net/netiucv.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c index d6e93f15440e..f3d893cfe61d 100644 --- a/drivers/s390/net/netiucv.c +++ b/drivers/s390/net/netiucv.c @@ -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); /** |