summaryrefslogtreecommitdiff
path: root/Kernel/Heap/kmalloc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Heap/kmalloc.cpp')
-rw-r--r--Kernel/Heap/kmalloc.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp
index cb6330e4c0..d0ccda22b2 100644
--- a/Kernel/Heap/kmalloc.cpp
+++ b/Kernel/Heap/kmalloc.cpp
@@ -298,13 +298,6 @@ void kfree(void* ptr)
--g_nested_kfree_calls;
}
-void* krealloc(void* ptr, size_t new_size)
-{
- kmalloc_verify_nospinlock_held();
- ScopedSpinLock lock(s_lock);
- return g_kmalloc_global->m_heap.reallocate(ptr, new_size);
-}
-
size_t kmalloc_good_size(size_t size)
{
return size;