From 9453332e57a0f9583a1e4dce254e797b06362982 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Tue, 9 Apr 2019 00:06:17 -0400 Subject: [PATCH] remove redundant else block --- h_malloc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/h_malloc.c b/h_malloc.c index 757754c..fe54f68 100644 --- a/h_malloc.c +++ b/h_malloc.c @@ -1143,9 +1143,8 @@ static size_t get_large_size_class(size_t size) { size_t spacing_shift = 64 - __builtin_clzl(size - 1) - 3; size_t spacing_class = 1ULL << spacing_shift; return (size + (spacing_class - 1)) & ~(spacing_class - 1); - } else { - return PAGE_CEILING(size); } + return PAGE_CEILING(size); } static size_t get_guard_size(struct random_state *state, size_t size) {