mirror of
https://github.com/RGBCube/serenity
synced 2025-06-30 10:22:13 +00:00
Kernel: Remove unnecessary FutexQueue::did_remove()
This was only ever called immediately after FutexQueue::try_remove() to VERIFY() that the state looks exactly like it should after returning from try_remove().
This commit is contained in:
parent
928929bbe1
commit
6c16bedd69
3 changed files with 0 additions and 9 deletions
|
@ -166,11 +166,4 @@ bool FutexQueue::try_remove()
|
|||
return true;
|
||||
}
|
||||
|
||||
void FutexQueue::did_remove()
|
||||
{
|
||||
SpinlockLocker lock(m_lock);
|
||||
VERIFY(m_was_removed);
|
||||
VERIFY(is_empty_and_no_imminent_waits_locked());
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue