about summary refs log tree commit diff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-04-14 21:09:21 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-14 21:09:21 -0700
commit2645b8e5cc44efe4856b1dad351414e50d91dfad (patch)
treeeda3454efc217b111cb7e45a9147e44c43d84e63 /malloc/malloc.c
parentdd37cd1a1243fad34d67ea54ebc36fc412da6e88 (diff)
downloadglibc-2645b8e5cc44efe4856b1dad351414e50d91dfad.tar.gz
glibc-2645b8e5cc44efe4856b1dad351414e50d91dfad.tar.xz
glibc-2645b8e5cc44efe4856b1dad351414e50d91dfad.zip
Remove unintended change.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index b067b65bdc..722b1d4961 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3168,10 +3168,6 @@ static Void_t* sYSMALLOc(nb, av) INTERNAL_SIZE_T nb; mstate av;
 
   size = nb + mp_.top_pad + MINSIZE;
 
-#define TWOM (2*1024*1024)
-  char *cur = (char*)MORECORE(0);
-  size = (char*)((size_t)(cur + size + TWOM - 1)&~(TWOM-1))-cur;
-
   /*
     If contiguous, we can subtract out existing space that we hope to
     combine with new space. We add it back later only if