summaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/setup.c
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/cobalt/setup.c
parentMIPS: c-r4k: Fix section mismatch for loongson2_sc_init (diff)
downloadlinux-a6e83acee2dd377959ec4bdeaa463da45ba0f811.tar.xz
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/cobalt/setup.c')
-rw-r--r--arch/mips/cobalt/setup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/mips/cobalt/setup.c b/arch/mips/cobalt/setup.c
index 46581e686882..2e099d55a564 100644
--- a/arch/mips/cobalt/setup.c
+++ b/arch/mips/cobalt/setup.c
@@ -117,8 +117,3 @@ void __init prom_init(void)
setup_8250_early_printk_port(CKSEG1ADDR(0x1c800000), 0, 0);
}
-
-void __init prom_free_prom_memory(void)
-{
- /* Nothing to do! */
-}