[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:
committed by
Martin Schwidefsky
parent
c654749777
commit
c11ca97ee9
@@ -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);
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user