]> Git Repo - linux.git/commitdiff
hexagon: drop empty and unused free_initrd_mem
authorMike Rapoport <[email protected]>
Wed, 25 Sep 2019 23:49:22 +0000 (16:49 -0700)
committerLinus Torvalds <[email protected]>
Thu, 26 Sep 2019 00:51:42 +0000 (17:51 -0700)
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/[email protected]
Signed-off-by: Mike Rapoport <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Richard Kuo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/hexagon/mm/init.c

index f1f6ebd537b729a59a88acf5ab8c075b8b85d8d5..c961773a6fff5cc2b23712bb780f0fc5fde98163 100644 (file)
@@ -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;
This page took 0.057559 seconds and 4 git commands to generate.