[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
@@ -83,7 +83,7 @@ struct dcss_segment {
|
||||
};
|
||||
|
||||
static DEFINE_MUTEX(dcss_lock);
|
||||
static struct list_head dcss_list = LIST_HEAD_INIT(dcss_list);
|
||||
static LIST_HEAD(dcss_list);
|
||||
static char *segtype_string[] = { "SW", "EW", "SR", "ER", "SN", "EN", "SC",
|
||||
"EW/EN-MIXED" };
|
||||
|
||||
|
Reference in New Issue
Block a user