diff options
author | Oran Agra <oran@redislabs.com> | 2021-01-04 23:16:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-04 23:16:19 +0200 |
commit | df9c213bb0b90c57867d25d272729d8492244582 (patch) | |
tree | 6017da2b3295d8d51e091def5edf4d5d168bbef3 | |
parent | 9dcdc7e79a25968fcdfde09c7ca72a2012a1febf (diff) | |
download | redis-df9c213bb0b90c57867d25d272729d8492244582.tar.gz |
remove unused call to zmalloc_size in defrag.c (#8285)
-rw-r--r-- | src/defrag.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/defrag.c b/src/defrag.c index fc327c506..e189deddd 100644 --- a/src/defrag.c +++ b/src/defrag.c @@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) { void *newptr; if(!je_get_defrag_hint(ptr)) { server.stat_active_defrag_misses++; - size = zmalloc_size(ptr); return NULL; } /* move this allocation to a new allocation. |