summaryrefslogtreecommitdiffstats
path: root/arch/mips/ar7
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-01-05 22:36:31 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-01-07 17:11:33 +0100
commita6e83acee2dd377959ec4bdeaa463da45ba0f811 (patch)
tree8ac65464eee201cf378da0e13116af57f2ec1623 /arch/mips/ar7
parentc58734eee6a2151ba033c0dcb31902c89e310374 (diff)
downloadlinux-a6e83acee2dd377959ec4bdeaa463da45ba0f811.tar.gz
linux-a6e83acee2dd377959ec4bdeaa463da45ba0f811.tar.bz2
linux-a6e83acee2dd377959ec4bdeaa463da45ba0f811.zip
MIPS: Remove empty prom_free_prom_memory functions
Most of the prom_free_prom_memory functions are empty. With a new weak prom_free_prom_memory() we can remove all of them. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/mips/ar7')
-rw-r--r--arch/mips/ar7/memory.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/ar7/memory.c b/arch/mips/ar7/memory.c
index 787716c5e946..ce8024c1a54e 100644
--- a/arch/mips/ar7/memory.c
+++ b/arch/mips/ar7/memory.c
@@ -49,8 +49,3 @@ void __init prom_meminit(void)
pages = memsize() >> PAGE_SHIFT;
memblock_add(PHYS_OFFSET, pages << PAGE_SHIFT);
}
-
-void __init prom_free_prom_memory(void)
-{
- /* Nothing to free */
-}