removed comment

This commit is contained in:
Zaid Humayun
2025-05-31 12:46:19 +05:30
parent 7c83086eed
commit 51a1b01ed9

View File

@@ -1108,7 +1108,7 @@ impl PtrmapEntry {
/// The +1 is because the pointer map page doesn't map itself
fn pages_mapped_per_ptrmap_page(page_size: usize) -> usize {
if page_size < PTRMAP_ENTRY_SIZE {
0 // Not enough space for even one entry
0
} else {
(page_size / PTRMAP_ENTRY_SIZE) + 1
}