1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09: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
Notes: sideshowbarker 2024-07-18 09:19:59 +09:00
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)
{