1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 15:27:35 +00:00

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.
This commit is contained in:
Andreas Kling 2021-07-11 14:03:53 +02:00
parent 966880eb45
commit 25e850ebb1
4 changed files with 0 additions and 48 deletions

View file

@ -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)
{