commit 920616026a17d5912882447bbdc1fc762b24b3f5
parent f75282aa0cb6b8e6732b4295ad63ed8b085eb31c
Author: sin <sin@2f30.org>
Date: Thu, 1 Aug 2013 16:02:51 +0100
Remove superfluous comments
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/random/rballoc.c b/random/rballoc.c
@@ -145,8 +145,6 @@ realloc(void *oldp, size_t siz)
return NULL;
}
n.buf = oldp;
- /* Search the alloc tree for an allocation starting
- * at address `oldp' */
res = RB_FIND(alloc_tree, &at, &n);
if (res) {
/* If we were asked to shrink the allocated space
@@ -183,9 +181,6 @@ free(void *p)
if (!p)
return;
n.buf = p;
- /* Lookup this allocation in the alloc tree.
- * If it is located, remove it from the alloc tree
- * and insert it in the free tree. */
res = RB_FIND(alloc_tree, &at, &n);
if (res) {
fn = RB_REMOVE(alloc_tree, &at, res);