]> git.baikalelectronics.ru Git - kernel.git/commit
hexagon: drop empty and unused free_initrd_mem
authorMike Rapoport <rppt@linux.ibm.com>
Wed, 25 Sep 2019 23:49:22 +0000 (16:49 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 00:51:42 +0000 (17:51 -0700)
commit8cebb0d874b3c67ac8b494f3798e826d6501d796
treea85c2eaea872d0e40e561ee26122ad9640de7480
parent19f5e6318534ce2f21fc5d9783886acc2af1e9ff
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>
arch/hexagon/mm/init.c