riscv/mm/fault: Simplify mm_fault_error()
authorPekka Enberg <penberg@kernel.org>
Tue, 25 Aug 2020 16:05:44 +0000 (19:05 +0300)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Wed, 16 Sep 2020 01:46:03 +0000 (18:46 -0700)
commit7a75f3d47a0b1be6eeb67d14e4003b2b91f8aa59
treeaf830ad4011766cc5bd7173e82f345c70add35f3
parent6c11ffbfd849830e8cede5fb0699828e74a7d26b
riscv/mm/fault: Simplify mm_fault_error()

Simplify the mm_fault_error() handling function by eliminating the
unnecessary gotos.

Signed-off-by: Pekka Enberg <penberg@kernel.org>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/mm/fault.c