From f55c3a9c02ac133ee140e3177cb48f7785a1a66e Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 6 Oct 2026 08:12:23 +0200 Subject: [PATCH] x86/crash: address Misra 2.1 rule violation The use of unreachable(), when unreachability is visible to Eclair (and compilers), is deemed a violation. Drop the redundant statement. No functional change. Signed-off-by: Jan Beulich Acked-by: Andrew Cooper --- xen/arch/x86/crash.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/arch/x86/crash.c b/xen/arch/x86/crash.c index 04fd04393b..89306984e1 100644 --- a/xen/arch/x86/crash.c +++ b/xen/arch/x86/crash.c @@ -118,8 +118,6 @@ static int cf_check do_nmi_crash( for ( ; ; ) halt(); - - unreachable(); } static void nmi_shootdown_cpus(void)