From: Paul Mundt Date: Sat, 15 Aug 2009 04:15:02 +0000 (+0900) Subject: sh: Kill off the unhandled pvr case in SH-4 CPU probing. X-Git-Tag: v2.6.32-rc1~640^2~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eccee7457df2b1e1505522ab0064e577e16eed75;p=platform%2Fkernel%2Flinux-3.10.git sh: Kill off the unhandled pvr case in SH-4 CPU probing. This is superfluous, as the default CPU type and family are already established by the initial cpuinfo definition. Given that we are still able to probe for the CPU family even if we are not able to detect the subtype, it's preferable to let the probing code fill out what it can and leave the rest. Signed-off-by: Paul Mundt --- diff --git a/arch/sh/kernel/cpu/sh4/probe.c b/arch/sh/kernel/cpu/sh4/probe.c index 1148607..695026a 100644 --- a/arch/sh/kernel/cpu/sh4/probe.c +++ b/arch/sh/kernel/cpu/sh4/probe.c @@ -178,9 +178,6 @@ int __init detect_cpu_and_cache_system(void) boot_cpu_data.dcache.ways = 2; break; - default: - boot_cpu_data.type = boot_cpu_data.family = CPU_SH_NONE; - break; } /*