x86/platform/uv: Remove dead !CONFIG_KEXEC_CORE code
authorIngo Molnar <mingo@kernel.org>
Tue, 20 Apr 2021 08:03:02 +0000 (10:03 +0200)
committerIngo Molnar <mingo@kernel.org>
Tue, 20 Apr 2021 08:08:34 +0000 (10:08 +0200)
commit27743f01e391ee1d80e3be2a09237507b965f91b
tree29dfc8c5201edec3d1a0b43ee981252b8832ea8f
parentc2209ea55612efac75de0a58ef5f7394fae7fa0f
x86/platform/uv: Remove dead !CONFIG_KEXEC_CORE code

The !CONFIG_KEXEC_CORE code in arch/x86/platform/uv/uv_nmi.c was unused, untested
and didn't even build for 7 years. Since we fixed this by requiring X86_UV to
depend on CONFIG_KEXEC_CORE, remove the (now) dead code.

Also move the uv_nmi_kexec_failed definition back up to where the other file-scope
global variables are defined.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Mike Travis <travis@sgi.com>
Cc: linux-kernel@vger.kernel.org
arch/x86/platform/uv/uv_nmi.c