From: Heiko Carstens Date: Fri, 13 Nov 2015 11:45:12 +0000 (+0100) Subject: s390: remove g5 elf platform support X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ddfd4a054b91def32cd1fe214f0a4d5506bb553b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390: remove g5 elf platform support Remove dead code, since this could only happen on a 31 bit machine where the kernel wouldn't IPL. Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/setup.c b/arch/s390/kernel/setup.c index ce0cbd6ba7ca..c837bcacf218 100644 --- a/arch/s390/kernel/setup.c +++ b/arch/s390/kernel/setup.c @@ -764,9 +764,6 @@ static int __init setup_hwcaps(void) get_cpu_id(&cpu_id); add_device_randomness(&cpu_id, sizeof(cpu_id)); switch (cpu_id.machine) { - case 0x9672: - strcpy(elf_platform, "g5"); - break; case 0x2064: case 0x2066: default: /* Use "z900" as default for 64 bit kernels. */