diff options
author | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-06 00:36:31 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2021-01-07 19:11:33 +0300 |
commit | a6e83acee2dd377959ec4bdeaa463da45ba0f811 (patch) | |
tree | 8ac65464eee201cf378da0e13116af57f2ec1623 /arch/mips/fw | |
parent | c58734eee6a2151ba033c0dcb31902c89e310374 (diff) | |
download | linux-a6e83acee2dd377959ec4bdeaa463da45ba0f811.tar.xz |
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 * |