Slight cleanup

Don't need `post_merge_it` anymore.
This commit is contained in:
Stephen Miller 2025-07-15 05:22:44 -05:00
parent 63bbe08631
commit 6d8bdb808a

View File

@ -555,7 +555,8 @@ u64 MemoryManager::UnmapBytesFromEntry(VAddr virtual_addr, VirtualMemoryArea vma
vma.phys_base = 0;
vma.disallow_merge = false;
vma.name = "";
const auto post_merge_it = MergeAdjacent(vma_map, new_it);
MergeAdjacent(vma_map, new_it);
if (type != VMAType::Reserved && type != VMAType::PoolReserved) {
// If this mapping has GPU access, unmap from GPU.
if (IsValidGpuMapping(virtual_addr, size)) {