diff options
author | Denis Cheng <crquan@gmail.com> | 2008-01-26 08:11:13 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:11:21 -0500 |
commit | c11ca97ee9d2ed593ab7b5523def7787b46f398f (patch) | |
tree | 16aef050d593095b1d3e3f176412a82eb88dd13f /arch/s390/mm/extmem.c | |
parent | c654749777e8624187b53fbb94cea91a7bf74347 (diff) |
[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 'arch/s390/mm/extmem.c')
-rw-r--r-- | arch/s390/mm/extmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c index 394980b05e6f..880b0ebf894b 100644 --- a/arch/s390/mm/extmem.c +++ b/arch/s390/mm/extmem.c | |||
@@ -83,7 +83,7 @@ struct dcss_segment { | |||
83 | }; | 83 | }; |
84 | 84 | ||
85 | static DEFINE_MUTEX(dcss_lock); | 85 | static DEFINE_MUTEX(dcss_lock); |
86 | static struct list_head dcss_list = LIST_HEAD_INIT(dcss_list); | 86 | static LIST_HEAD(dcss_list); |
87 | static char *segtype_string[] = { "SW", "EW", "SR", "ER", "SN", "EN", "SC", | 87 | static char *segtype_string[] = { "SW", "EW", "SR", "ER", "SN", "EN", "SC", |
88 | "EW/EN-MIXED" }; | 88 | "EW/EN-MIXED" }; |
89 | 89 | ||