Kernel: Remove unused Thread::is_runnable_state()

This commit is contained in:
Andreas Kling 2021-02-08 23:07:33 +01:00
parent 4ff0f971f7
commit e8f040139b
Notes: sideshowbarker 2024-07-18 22:29:08 +09:00

View File

@ -1089,11 +1089,6 @@ public:
template<typename Callback>
static IterationDecision for_each(Callback);
[[nodiscard]] static bool is_runnable_state(Thread::State state)
{
return state == Thread::State::Running || state == Thread::State::Runnable;
}
static constexpr u32 default_kernel_stack_size = 65536;
static constexpr u32 default_userspace_stack_size = 4 * MiB;