mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-24 03:25:02 +00:00
Kernel: Remove redundant VERIFY()
Removes a VERIFY() that is already checked earlier in the function
This commit is contained in:
parent
aa627454da
commit
6f6966fb55
|
@ -500,7 +500,6 @@ PageFaultResponse Region::handle_zero_fault(size_t page_index_in_region, Physica
|
|||
RefPtr<PhysicalRAMPage> new_physical_page;
|
||||
|
||||
if (page_in_slot_at_time_of_fault.is_lazy_committed_page()) {
|
||||
VERIFY(m_vmobject->is_anonymous());
|
||||
new_physical_page = static_cast<AnonymousVMObject&>(*m_vmobject).allocate_committed_page({});
|
||||
dbgln_if(PAGE_FAULT_DEBUG, " >> ALLOCATED COMMITTED {}", new_physical_page->paddr());
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue