Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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.

Link: http://lkml.kernel.org/r/1565858133-25852-1-git-send-email-rppt@linux.ibm.com
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Richard Kuo <rkuo@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Mike Rapoport and committed by
Linus Torvalds
c7cc8d77 d616d512

-13
-13
arch/hexagon/mm/init.c
··· 71 71 init_mm.context.ptbase = __pa(init_mm.pgd); 72 72 } 73 73 74 - /* 75 - * free_initrd_mem - frees... initrd memory. 76 - * @start - start of init memory 77 - * @end - end of init memory 78 - * 79 - * Apparently has to be passed the address of the initrd memory. 80 - * 81 - * Wrapped by #ifdef CONFIG_BLKDEV_INITRD 82 - */ 83 - void free_initrd_mem(unsigned long start, unsigned long end) 84 - { 85 - } 86 - 87 74 void sync_icache_dcache(pte_t pte) 88 75 { 89 76 unsigned long addr;