Re: [PATCH] MIPS: Remove empty prom_free_prom_memory functions

From: Thomas Bogendoerfer
Date: Thu Jan 07 2021 - 11:30:13 EST


On Tue, Jan 05, 2021 at 10:36:31PM +0100, Thomas Bogendoerfer wrote:
> 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@xxxxxxxxxxxxxxxx>
> ---
> arch/mips/alchemy/common/prom.c | 4 ----
> arch/mips/ar7/memory.c | 5 -----
> arch/mips/ath25/prom.c | 4 ----
> arch/mips/ath79/prom.c | 5 -----
> arch/mips/bcm47xx/prom.c | 4 ----
> arch/mips/bcm63xx/prom.c | 4 ----
> arch/mips/bmips/setup.c | 4 ----
> arch/mips/cobalt/setup.c | 5 -----
> arch/mips/fw/arc/memory.c | 2 +-
> arch/mips/fw/sni/sniprom.c | 4 ----
> arch/mips/generic/init.c | 4 ----
> arch/mips/lantiq/prom.c | 4 ----
> arch/mips/loongson2ef/common/init.c | 4 ----
> arch/mips/loongson32/common/prom.c | 4 ----
> arch/mips/loongson64/init.c | 4 ----
> arch/mips/mm/init.c | 5 +++++
> arch/mips/mti-malta/malta-memory.c | 4 ----
> arch/mips/netlogic/xlp/setup.c | 5 -----
> arch/mips/netlogic/xlr/setup.c | 5 -----
> arch/mips/pic32/pic32mzda/init.c | 4 ----
> arch/mips/pistachio/init.c | 4 ----
> arch/mips/ralink/prom.c | 4 ----
> arch/mips/rb532/prom.c | 5 -----
> arch/mips/sgi-ip27/ip27-memory.c | 5 -----
> arch/mips/sgi-ip32/ip32-memory.c | 5 -----
> arch/mips/sibyte/common/cfe.c | 5 -----
> arch/mips/txx9/generic/setup.c | 4 ----
> arch/mips/vr41xx/common/init.c | 4 ----
> 28 files changed, 6 insertions(+), 114 deletions(-)

applied to mips-next.

Thomas.

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]