diff options
author | 2008-01-26 14:11:13 +0100 | |
---|---|---|
committer | 2008-01-26 14:11:21 +0100 | |
commit | c11ca97ee9d2ed593ab7b5523def7787b46f398f (patch) | |
tree | 16aef050d593095b1d3e3f176412a82eb88dd13f /drivers/s390/char/tape_core.c | |
parent | [S390] Load disabled wait psw instead of stopping cpu on halt. (diff) | |
download | linux-c11ca97ee9d2ed593ab7b5523def7787b46f398f.tar.gz linux-c11ca97ee9d2ed593ab7b5523def7787b46f398f.tar.bz2 linux-c11ca97ee9d2ed593ab7b5523def7787b46f398f.zip |
[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/char/tape_core.c')
-rw-r--r-- | drivers/s390/char/tape_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/tape_core.c b/drivers/s390/char/tape_core.c index 2fae6338ee1c..7ad8cf157641 100644 --- a/drivers/s390/char/tape_core.c +++ b/drivers/s390/char/tape_core.c @@ -37,7 +37,7 @@ static void tape_long_busy_timeout(unsigned long data); * we can assign the devices to minor numbers of the same major * The list is protected by the rwlock */ -static struct list_head tape_device_list = LIST_HEAD_INIT(tape_device_list); +static LIST_HEAD(tape_device_list); static DEFINE_RWLOCK(tape_device_lock); /* |