riscv: mm: init: remove unnecessary "#ifdef CONFIG_CRASH_DUMP"
authorJisheng Zhang <jszhang@kernel.org>
Mon, 6 Dec 2021 15:03:49 +0000 (23:03 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 19 Jan 2022 17:56:30 +0000 (09:56 -0800)
commit902d6364aad5fc8731ac5b19ed9a1d9c9ee0bd91
tree45470b41db37ff9f85070a351e50c2f016c46070
parentf1b744f65e2f9682347c5faf6377e61e2ab19a67
riscv: mm: init: remove unnecessary "#ifdef CONFIG_CRASH_DUMP"

The is_kdump_kernel() returns false for !CRASH_DUMP case, so we don't
need the #ifdef CONFIG_CRASH_DUMP for is_kdump_kernel() checking.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Reviewed-by: Alexandre Ghiti <alex@ghiti.fr>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c