diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c index 160d79d58dd59aac85651fd9798f8eb8d3574af0..b1ca38642251cde9ba03184331d7af5fe83006de 100644 --- a/arch/riscv/mm/init.c +++ b/arch/riscv/mm/init.c @@ -86,11 +86,6 @@ static void __init setup_initrd(void) initrd_start = 0; initrd_end = 0; } - -void __init free_initrd_mem(unsigned long start, unsigned long end) -{ - free_reserved_area((void *)start, (void *)end, -1, "initrd"); -} #endif /* CONFIG_BLK_DEV_INITRD */ void __init setup_bootmem(void)