mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Fix GCC warning: va = va += PAGE_SIZE contains pointless operation
va = va. Fix white space in nearby lines.
This commit is contained in:
parent
0212104ba9
commit
68863fdbfc
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=169773
@ -1420,14 +1420,14 @@ pmap_remove(pmap_t pmap, vm_offset_t sva, vm_offset_t eva)
|
||||
pmap_remove_pte(pmap, pte, va, pv, 1);
|
||||
}
|
||||
}
|
||||
|
||||
} else {
|
||||
for (va = sva; va < eva; va = va += PAGE_SIZE) {
|
||||
for (va = sva; va < eva; va += PAGE_SIZE) {
|
||||
pte = pmap_find_vhpt(va);
|
||||
if (pte != NULL)
|
||||
pmap_remove_pte(pmap, pte, va, 0, 1);
|
||||
}
|
||||
}
|
||||
|
||||
out:
|
||||
vm_page_unlock_queues();
|
||||
pmap_install(oldpmap);
|
||||
|
Loading…
Reference in New Issue
Block a user