From 0ab68fa83ed14d0d242593e28682314abf326b86 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Wed, 10 Mar 2021 01:35:28 +0100 Subject: [PATCH] pmm: Remove useless if --- stage23/mm/pmm.s2.c | 3 --- 1 file changed, 3 deletions(-) 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; } }