summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-11-19 15:53:00 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-11-19 13:28:58 +0100
commit6ce91ba8589ab08143939f9d6a58993e36773e75 (patch)
tree8cec96f9590678de623941288ca5de249ff95d9b /arch/mips/mm
parent0df162e1377a585ced8adb932f7d6e4164e91ccf (diff)
downloadlinux-stable-6ce91ba8589ab08143939f9d6a58993e36773e75.tar.gz
linux-stable-6ce91ba8589ab08143939f9d6a58993e36773e75.tar.bz2
linux-stable-6ce91ba8589ab08143939f9d6a58993e36773e75.zip
MIPS: Remove cpu_has_6k_cache and cpu_has_8k_cache in cpu_cache_init()
Since commit 02cf2119684e ("Cleanup the mess in cpu_cache_init."), cpu_has_6k_cache and cpu_has_8k_cache have no user, r6k_cache_init() and r8k_cache_init() are not defined for over 15 years, just remove them. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/cache.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/mm/cache.c b/arch/mips/mm/cache.c
index 36bcf4e955e8..23b16bfd97b2 100644
--- a/arch/mips/mm/cache.c
+++ b/arch/mips/mm/cache.c
@@ -188,21 +188,11 @@ void cpu_cache_init(void)
r3k_cache_init();
}
- if (cpu_has_6k_cache) {
- extern void __weak r6k_cache_init(void);
-
- r6k_cache_init();
- }
if (cpu_has_4k_cache) {
extern void __weak r4k_cache_init(void);
r4k_cache_init();
}
- if (cpu_has_8k_cache) {
- extern void __weak r8k_cache_init(void);
-
- r8k_cache_init();
- }
if (cpu_has_tx39_cache) {
extern void __weak tx39_cache_init(void);