diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-05 22:36:31 +0100 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-07 17:11:33 +0100 |
commit | a6e83acee2dd377959ec4bdeaa463da45ba0f811 (patch) | |
tree | 8ac65464eee201cf378da0e13116af57f2ec1623 /arch/mips/fw | |
parent | c58734eee6a2151ba033c0dcb31902c89e310374 (diff) |
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/fw')
-rw-r--r-- | arch/mips/fw/arc/memory.c | 2 | ||||
-rw-r--r-- | arch/mips/fw/sni/sniprom.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c index 37625ae5e35d..ef5fc1ca1b5d 100644 --- a/arch/mips/fw/arc/memory.c +++ b/arch/mips/fw/arc/memory.c @@ -173,7 +173,7 @@ void __weak __init prom_cleanup(void) { } -void __weak __init prom_free_prom_memory(void) +void __init prom_free_prom_memory(void) { int i; diff --git a/arch/mips/fw/sni/sniprom.c b/arch/mips/fw/sni/sniprom.c index 8f6730376a42..74975e115950 100644 --- a/arch/mips/fw/sni/sniprom.c +++ b/arch/mips/fw/sni/sniprom.c @@ -87,10 +87,6 @@ void *prom_get_hwconf(void) return (void *)CKSEG1ADDR(hwconf); } -void __init prom_free_prom_memory(void) -{ -} - /* * /proc/cpuinfo system type * |