:: commit 0ab68fa83ed14d0d242593e28682314abf326b86

mintsuki <mintsuki@protonmail.com> — 2021-03-10 00:35

parents: 6fe0a46a34

pmm: Remove useless if

diff --git a/stage23/mm/pmm.s2.c b/stage23/mm/pmm.s2.c
index f78f1a92..2ed1fd7e 100644
--- a/stage23/mm/pmm.s2.c
+++ b/stage23/mm/pmm.s2.c
@@ -306,9 +306,6 @@ void init_memmap(void) {
             bump_allocator_base = entry->PhysicalStart;
             bump_allocator_limit = entry_pool_limit;
             bump_alloc_pool_size = entry_pool_size;
-
-            if (bump_allocator_limit > 0x100000)
-                bump_allocator_limit = 0x100000;
         }
     }
 
tab: 248 wrap: offon