aboutsummaryrefslogtreecommitdiff
path: root/malloc
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:07:33 +0530
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2016-10-26 15:07:34 +0530
commit68fc2ccc1aebc15b92e596b2bdc5605da1e25f3c (patch)
treec1ca271cc69d721ed016847c2ba2bae775f3c58c /malloc
parentaceb22c1f59231909777f7d0a6b955adbf7096a2 (diff)
downloadglibc-68fc2ccc1aebc15b92e596b2bdc5605da1e25f3c.zip
glibc-68fc2ccc1aebc15b92e596b2bdc5605da1e25f3c.tar.gz
glibc-68fc2ccc1aebc15b92e596b2bdc5605da1e25f3c.tar.bz2
Remove redundant definitions of M_ARENA_* macros
The M_ARENA_MAX and M_ARENA_TEST macros are defined in malloc.c as well as malloc.h, and the former is unnecessary. This patch removes the duplicate. Tested on x86_64 to verify that the generated code remains unchanged barring changed line numbers to __malloc_assert. * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index a849901..e336e38 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1717,11 +1717,6 @@ static struct malloc_par mp_ =
.arena_test = NARENAS_FROM_NCORES (1)
};
-
-#define M_ARENA_TEST -7
-#define M_ARENA_MAX -8
-
-
/* Maximum size of memory handled in fastbins. */
static INTERNAL_SIZE_T global_max_fast;