summaryrefslogtreecommitdiff
path: root/src/memory/memory.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memory/memory.c')
-rw-r--r--src/memory/memory.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/memory/memory.c b/src/memory/memory.c
index 1e69d8a..bccc5c3 100644
--- a/src/memory/memory.c
+++ b/src/memory/memory.c
@@ -51,7 +51,6 @@ void *kalloc_new(size_t size) {
node = 0;
}
- memcpy(addr, 0, pages * PAGE_SIZE);
struct page_header *header = addr;
header->magic = 0xBEEFCAFE;
header->used = size;