summaryrefslogtreecommitdiff
path: root/AK
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-07-11 14:03:53 +0200
committerAndreas Kling <kling@serenityos.org>2021-07-11 14:14:51 +0200
commit25e850ebb1ca4c1326fda8b8ee36251c5d91ceaf (patch)
tree40bc52ee8c1f15679bd95c9f7d31fa2f7f4dccbc /AK
parent966880eb45330bcdfbf4e0d74ad6e11b4782716c (diff)
downloadserenity-25e850ebb1ca4c1326fda8b8ee36251c5d91ceaf.zip
Kernel: Remove krealloc()
This was only used by a single class (AK::ByteBuffer) in the kernel and not in an OOM-safe way. Now that ByteBuffer no longer uses it, there's no need for the kernel heap to burden itself with supporting this.
Diffstat (limited to 'AK')
-rw-r--r--AK/kmalloc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/AK/kmalloc.h b/AK/kmalloc.h
index 14b37ec170..95e886f9cd 100644
--- a/AK/kmalloc.h
+++ b/AK/kmalloc.h
@@ -17,7 +17,6 @@
# define kmalloc malloc
# define kmalloc_good_size malloc_good_size
# define kfree free
-# define krealloc realloc
inline void kfree_sized(void* ptr, size_t)
{