Skip to content

Commit eccee74

Browse files
committed
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 <lethal@linux-sh.org>
1 parent 0d051d9 commit eccee74

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

‎arch/sh/kernel/cpu/sh4/probe.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ int __init detect_cpu_and_cache_system(void)
177177
boot_cpu_data.icache.ways = 2;
178178
boot_cpu_data.dcache.ways = 2;
179179

180-
break;
181-
default:
182-
boot_cpu_data.type = boot_cpu_data.family = CPU_SH_NONE;
183180
break;
184181
}
185182

0 commit comments

Comments
 (0)