summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2006-01-25 05:41:02 +0000
committerjasone <jasone@FreeBSD.org>2006-01-25 05:41:02 +0000
commitf7b6cf045ea1919f3507ebec16a4b9851d7cddbc (patch)
treee9fc68451529d2b865aa01c2eb0566e8d6383e8b
parent30e6373190f2966e1e9a48997f2c056733653256 (diff)
downloadFreeBSD-src-f7b6cf045ea1919f3507ebec16a4b9851d7cddbc.zip
FreeBSD-src-f7b6cf045ea1919f3507ebec16a4b9851d7cddbc.tar.gz
Remove a redundant variable assignment in arena_reg_frag_alloc().
-rw-r--r--lib/libc/stdlib/malloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/stdlib/malloc.c b/lib/libc/stdlib/malloc.c
index 37addad..7cb4b3a 100644
--- a/lib/libc/stdlib/malloc.c
+++ b/lib/libc/stdlib/malloc.c
@@ -2541,7 +2541,6 @@ arena_frag_reg_alloc(arena_t *arena, size_t size, bool fit)
* effectiveness of coalescing.
*/
- total_size = region_next_size_get(&arena->frag->sep);
assert(size % quantum == 0);
if (total_size - size >=
OpenPOWER on IntegriCloud