KPageTable: Remove extraneous assert

Since start is always 0 and VAddr is unsigned, we can safely remove this assert.
merge-requests/60/head
Morph 2022-06-21 21:28:54 +07:00
parent ab0e71d7cb
commit 1c8f6ba18f
1 changed files with 0 additions and 1 deletions

@ -65,7 +65,6 @@ ResultCode KPageTable::InitializeForProcess(FileSys::ProgramAddressSpaceType as_
std::size_t alias_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Alias)};
std::size_t heap_region_size{GetSpaceSize(KAddressSpaceInfo::Type::Heap)};
ASSERT(start <= code_addr);
ASSERT(code_addr < code_addr + code_size);
ASSERT(code_addr + code_size - 1 <= end - 1);