From a8aca627715a2339efcfedf79d23deb6307c7507 Mon Sep 17 00:00:00 2001 From: apio Date: Tue, 6 Sep 2022 12:13:20 +0200 Subject: [PATCH] Remove loop from the end of reboot since hang is now noreturn as well --- kernel/src/power/reboot.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/src/power/reboot.cpp b/kernel/src/power/reboot.cpp index 4ce87851..caeaf4ad 100644 --- a/kernel/src/power/reboot.cpp +++ b/kernel/src/power/reboot.cpp @@ -60,6 +60,4 @@ static void try_idt_triple_fault() try_idt_triple_fault(); kerrorln("Failed to reboot, halting machine"); hang(); -end: - goto end; } \ No newline at end of file