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 <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Jan Beulich committed 2026-10-06 08:12:23 +02:00
1 parent e4da182973
commit f55c3a9c02
1 file changed
-2
-2
View File
@@ -118,8 +118,6 @@ static int cf_check do_nmi_crash(
for ( ; ; )
halt();
unreachable();
}
static void nmi_shootdown_cpus(void)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.