mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
Kernel: Remove unused Thread::is_runnable_state()
This commit is contained in:
parent
4ff0f971f7
commit
e8f040139b
Notes:
sideshowbarker
2024-07-18 22:29:08 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e8f040139b8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user