summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/bootmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/bootmem.c b/src/lib/bootmem.c
index 66d459207d..38fdb1b937 100644
--- a/src/lib/bootmem.c
+++ b/src/lib/bootmem.c
@@ -278,7 +278,6 @@ void *bootmem_allocate_buffer(size_t size)
return NULL;
/* region now points to the highest usable region for the given size. */
- begin = range_entry_base(region);
end = range_entry_end(region);
if (end > max_addr)
end = max_addr;