diff mbox series

mips: loongson64: Remove unnecessary external declaration

Message ID 1604488643-22014-1-git-send-email-tangyouling@loongson.cn (mailing list archive)
State Superseded
Headers show
Series mips: loongson64: Remove unnecessary external declaration | expand

Commit Message

Youling Tang Nov. 4, 2020, 11:17 a.m. UTC
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@loongson.cn>
---
 arch/mips/include/asm/mach-loongson64/loongson.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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;