Skip to content

Commit

Permalink
sh: Kill off the unhandled pvr case in SH-4 CPU probing.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Aug 15, 2009
1 parent 0d051d9 commit eccee74
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/sh/kernel/cpu/sh4/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit eccee74

Please sign in to comment.