mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 08:25:07 +00:00
Kernel: Remove unused BlockTimeout::m_should_block
This was assigned but never read.
This commit is contained in:
parent
cfd9045891
commit
adbf472ca7
2 changed files with 1 additions and 4 deletions
|
@ -19,10 +19,8 @@ Thread::BlockTimeout::BlockTimeout(bool is_absolute, const Time* time, const Tim
|
|||
{
|
||||
if (m_infinite)
|
||||
return;
|
||||
if (*time > Time::zero()) {
|
||||
if (*time > Time::zero())
|
||||
m_time = *time;
|
||||
m_should_block = true;
|
||||
}
|
||||
m_start_time = start_time ? *start_time : TimeManagement::the().current_time(clock_id);
|
||||
if (!is_absolute)
|
||||
m_time += m_start_time;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue