aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/smp.c
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2015-01-16 04:35:05 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2015-01-22 06:16:06 -0500
commit032f1be056a2e84f8817b56fe6d76e8e83285578 (patch)
tree333dea977a86c9b871e08d855e8a8dd94d270dd0 /arch/s390/kernel/smp.c
parent5be6fdc090e156bc67b63310b65f4f54523e7b6c (diff)
s390/smp: remove check for CONFIG_ZFCPDUMP
Commit 725908110a1f ("s390: add SMT support") added a check for CONFIG_ZFCPDUMP. But the Kconfig symbol ZFCPDUMP was removed in v3.16 through commit bf28a5970de3 ("s390/dump: Remove CONFIG_ZFCPDUMP"). So this check will always evaluate to false. No one noticed probably because the code also checks for CONFIG_CRASH_DUMP which "also enables s390 zfcpdump". Dump the unneeded check. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/smp.c')
-rw-r--r--arch/s390/kernel/smp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kernel/smp.c b/arch/s390/kernel/smp.c
index 370ff3a092a3..a668993ff577 100644
--- a/arch/s390/kernel/smp.c
+++ b/arch/s390/kernel/smp.c
@@ -762,7 +762,7 @@ static void __init smp_detect_cpus(void)
762 panic("Could not find boot CPU type"); 762 panic("Could not find boot CPU type");
763 } 763 }
764 764
765#if defined(CONFIG_ZFCPDUMP) || defined(CONFIG_CRASH_DUMP) 765#ifdef CONFIG_CRASH_DUMP
766 /* Collect CPU state of previous system */ 766 /* Collect CPU state of previous system */
767 smp_store_cpu_states(info); 767 smp_store_cpu_states(info);
768#endif 768#endif