1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:07:45 +00:00

Kernel: Remove unused used/free pages API's from PhysicalRegion

This commit is contained in:
Andreas Kling 2021-07-13 17:44:03 +02:00
parent be90e51355
commit 6ea5db20ff
3 changed files with 0 additions and 9 deletions

View file

@ -73,7 +73,6 @@ unsigned PhysicalRegion::finalize_capacity()
OwnPtr<PhysicalRegion> PhysicalRegion::try_take_pages_from_beginning(unsigned page_count)
{
VERIFY(m_used == 0);
VERIFY(page_count > 0);
VERIFY(page_count < m_pages);
auto taken_lower = m_lower;