From 957e14cfaa9a8245f0b86c058498d669da237b81 Mon Sep 17 00:00:00 2001 From: Georg Kotheimer Date: Mon, 8 Apr 2024 00:00:00 +0000 Subject: [PATCH] kernel_thread: Remove unused do_idle() function declaration In commit fa8c113e0ba9c686f11d218704fd4126357451b4 the function was inlined into Kernel_thread::run() and all its definitions were removed, but removing the declaration was missed. Change-Id: Icfb85eb6972beaf85d7e4bb9d3c8e703f1ef0d71 --- src/kern/kernel_thread.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/kern/kernel_thread.cpp b/src/kern/kernel_thread.cpp index 22ef52ef4..dcd5508a3 100644 --- a/src/kern/kernel_thread.cpp +++ b/src/kern/kernel_thread.cpp @@ -17,7 +17,6 @@ class Kernel_thread : public Thread_object void bootstrap() asm ("call_bootstrap") FIASCO_FASTCALL FIASCO_NORETURN; void bootstrap_arch(); void run() FIASCO_NORETURN; - void do_idle() __attribute__((noreturn)); void check_debug_koptions(); protected: