hexagon: drop empty and unused free_initrd_mem
PATCH 1/1 hexagon: drop empty and unused free_initrd_mem
hexagon never reserves or initializes initrd and the only mention of it is the empty free_initrd_mem() function.
As we have a generic implementation of free_initrd_mem(), there is no need to define an empty stub for the hexagon implementation and it can be dropped.
Signed-off-by Mike Rapoport <[email protected]>
--- arch/hexagon/mm/init.c | 13 ------------- 1 file changed, 13 deletions(-)
arch/hexagon/mm/init.c +0 -13
@@ -71,19 +71,6 @@ void __init mem_init(void) init_mm.context.ptbase =__pa (init_mm.pgd); } -/* -* free_initrd_mem - frees... initrd memory. -* @start - start of init memory -* @end - end of init memory -* -* Apparently has to be passed the address of the initrd memory. -* -* Wrapped by #ifdef CONFIG_BLKDEV_INITRD -*/ -void free_initrd_mem (unsigned long start,unsigned long end) -{ -} -void sync_icache_dcache (pte_t pte) {unsigned long addr;
Signature · 1 line
2.7.4
Quoted 6 lines · Mike Rapoport
hexagon never reserves or initializes initrd and the only mention of it is the empty
free_initrd_mem()function.As we have a generic implementation of
free_initrd_mem(), there is no need to define an empty stub for the hexagon implementation and it can be dropped.
Looks good,
Reviewed-by Christoph Hellwig <[email protected]>