From 0c5e441a0b845a1775d179b3b2ff44c7d630edeb Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 20 May 2020 15:52:02 +0200 Subject: [PATCH] Revert "Kernel: Add implementation of operator new and delete to kmalloc.cpp" This reverts commit 6d0d8487201eb3cc8d63a1d066a0735a97cdc6e3. --- Kernel/Heap/kmalloc.cpp | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp index 3b8cda0e43c..b33136911ab 100644 --- a/Kernel/Heap/kmalloc.cpp +++ b/Kernel/Heap/kmalloc.cpp @@ -218,23 +218,3 @@ void* operator new[](size_t size) { return kmalloc(size); } - -void operator delete(void* ptr) -{ - return kfree(ptr); -} - -void operator delete(void* ptr, size_t) -{ - return kfree(ptr); -} - -void operator delete[](void* ptr) -{ - return kfree(ptr); -} - -void operator delete[](void* ptr, size_t) -{ - return kfree(ptr); -}