summaryrefslogtreecommitdiff
path: root/kernel/mboot/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/mboot/mmap.c')
-rw-r--r--kernel/mboot/mmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/mboot/mmap.c b/kernel/mboot/mmap.c
index 8959c49..e0963ca 100644
--- a/kernel/mboot/mmap.c
+++ b/kernel/mboot/mmap.c
@@ -30,11 +30,9 @@ int mboot_get_mmap(struct memory_map *res)
int idx = 0;
uintptr_t i = (uintptr_t)mmap->entries;
- char buf[20];
for (; i < (uintptr_t)mmap->entries + mmap->size;
i += mmap->entry_size, idx++) {
struct multiboot_mmap_entry *seg = (struct multiboot_mmap_entry *)i;
- const char *type = NULL;
res->entries[idx].addr = seg->addr;
res->entries[idx].len = seg->len;
res->entries[idx].type = seg->type;