浏览代码

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>
Paul Mundt 16 年之前
父节点
当前提交
eccee7457d
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      arch/sh/kernel/cpu/sh4/probe.c

+ 0 - 3
arch/sh/kernel/cpu/sh4/probe.c

@@ -177,9 +177,6 @@ int __init detect_cpu_and_cache_system(void)
 		boot_cpu_data.icache.ways = 2;
 		boot_cpu_data.dcache.ways = 2;
 
-		break;
-	default:
-		boot_cpu_data.type = boot_cpu_data.family = CPU_SH_NONE;
 		break;
 	}