s390/smp: remove check for CONFIG_ZFCPDUMP
authorPaul Bolle <pebolle@tiscali.nl>
Fri, 16 Jan 2015 09:35:05 +0000 (10:35 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Thu, 22 Jan 2015 11:16:06 +0000 (12:16 +0100)
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>
arch/s390/kernel/smp.c

index 370ff3a092a3952a843910a6d3c72bbdd946793b..a668993ff577f95d40aff6f474e082374967a79b 100644 (file)
@@ -762,7 +762,7 @@ static void __init smp_detect_cpus(void)
                        panic("Could not find boot CPU type");
        }
 
-#if defined(CONFIG_ZFCPDUMP) || defined(CONFIG_CRASH_DUMP)
+#ifdef CONFIG_CRASH_DUMP
        /* Collect CPU state of previous system */
        smp_store_cpu_states(info);
 #endif