summaryrefslogtreecommitdiff
path: root/src/memory/physalloc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/memory/physalloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/memory/physalloc.c b/src/memory/physalloc.c
index 8583e29..5be7469 100644
--- a/src/memory/physalloc.c
+++ b/src/memory/physalloc.c
@@ -182,7 +182,6 @@ void memory_init(struct memory_map *map) {
//HACK: terrible hack bad bad bad bad
long bitmap_size = bitmap_pages * PAGE_SIZE;
bitmap = (uint64_t *) page_align(kaddr(kernel_end));
- char buf[20];
long page_area_size = segment_count * sizeof(struct memory_area);
char *page_area_addr = (char *)bitmap + bitmap_size;