riscv: remove free_initrd_mem
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 06:33:26 +0000 (08:33 +0200)
committerPaul Walmsley <paul.walmsley@sifive.com>
Thu, 4 Jul 2019 10:12:57 +0000 (03:12 -0700)
commit2ebca1cbb4a5a31f8d89f22d9d410b432a97f7a7
treeb7027278557ed3fcab3156a841f79c39094cf1b1
parentdf7e9059cf6bdf4a8c11edeee30231f49815b071
riscv: remove free_initrd_mem

The RISC-V free_initrd_mem is identical to the default one, except
that it doesn't poison the freed memory.  Remove it so that the
default implementations gets used instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
arch/riscv/mm/init.c