[PATCH] mips: loongson64: Remove unnecessary external declaration
From: Youling Tang
Date: Wed Nov 04 2020 - 06:17:55 EST
prom_init_memory() unused in loongson64, only used in loongson2ef, and
has been declared in arch/mips/include/asm/mach-loongson2ef/loongson.h,
so remove the external declaration in loongson64.
Signed-off-by: Youling Tang <tangyouling@xxxxxxxxxxx>
---
arch/mips/include/asm/mach-loongson64/loongson.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/mips/include/asm/mach-loongson64/loongson.h b/arch/mips/include/asm/mach-loongson64/loongson.h
index fde1b75..8433501 100644
--- a/arch/mips/include/asm/mach-loongson64/loongson.h
+++ b/arch/mips/include/asm/mach-loongson64/loongson.h
@@ -23,7 +23,6 @@ extern u32 memsize, highmemsize;
extern const struct plat_smp_ops loongson3_smp_ops;
/* loongson-specific command line, env and memory initialization */
-extern void __init prom_init_memory(void);
extern void __init prom_init_env(void);
extern void *loongson_fdt_blob;
--
2.1.0