summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/setup-common.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@c-s.fr>2019-03-22 09:08:42 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-05-02 17:58:11 +0200
commite9e9b25a4c99eec0e678c78124ae79764d8f777a (patch)
tree495762a01cb707c11ce3f259d485c4bf4d80901d /arch/powerpc/kernel/setup-common.c
parentpowerpc/mm: define an empty mm_iommu_init() (diff)
downloadlinux-e9e9b25a4c99eec0e678c78124ae79764d8f777a.tar.xz
linux-e9e9b25a4c99eec0e678c78124ae79764d8f777a.zip
powerpc/setup: Remove unnecessary #ifdef CONFIG_ALTIVEC
CPU_FTR_ALTIVEC is only set when CONFIG_ALTIVEC is selected, so the ifdef is unnecessary. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kernel/setup-common.c')
-rw-r--r--arch/powerpc/kernel/setup-common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/setup-common.c b/arch/powerpc/kernel/setup-common.c
index d06d50fe1e7e..3cb3774f380a 100644
--- a/arch/powerpc/kernel/setup-common.c
+++ b/arch/powerpc/kernel/setup-common.c
@@ -251,10 +251,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
else
seq_printf(m, "unknown (%08x)", pvr);
-#ifdef CONFIG_ALTIVEC
if (cpu_has_feature(CPU_FTR_ALTIVEC))
seq_printf(m, ", altivec supported");
-#endif /* CONFIG_ALTIVEC */
seq_printf(m, "\n");