summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm/c-r4k.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-07-22 23:59:43 +0200
committerPaul Burton <paul.burton@mips.com>2019-07-23 23:33:23 +0200
commitf9065b54d437c4660e3d974ad9ce5188c068cd76 (patch)
tree32622164fa84225b50db05fcea98c830d431d7b1 /arch/mips/mm/c-r4k.c
parentMIPS: qi_lb60: Move MMC configuration to devicetree (diff)
downloadlinux-f9065b54d437c4660e3d974ad9ce5188c068cd76.tar.xz
linux-f9065b54d437c4660e3d974ad9ce5188c068cd76.zip
MIPS: Remove unused R4300 CPU support
Our R4300 CPU support can only be included if a system selects CONFIG_SYS_HAS_CPU_R4300. No system does, making all R4300-related CPU support dead code. Remove it. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/mm/c-r4k.c')
-rw-r--r--arch/mips/mm/c-r4k.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/mm/c-r4k.c b/arch/mips/mm/c-r4k.c
index 5166e38cd1c6..07d9aa4f7491 100644
--- a/arch/mips/mm/c-r4k.c
+++ b/arch/mips/mm/c-r4k.c
@@ -1134,7 +1134,6 @@ static void probe_pcache(void)
case CPU_R4400PC:
case CPU_R4400SC:
case CPU_R4400MC:
- case CPU_R4300:
icache_size = 1 << (12 + ((config & CONF_IC) >> 9));
c->icache.linesz = 16 << ((config & CONF_IB) >> 5);
c->icache.ways = 1;