remove unused call to zmalloc_size in defrag.c (#8285)

This commit is contained in:
Oran Agra 2021-01-04 23:16:19 +02:00 committed by GitHub
parent 2a16c67f66
commit 0c9c1d3943

View File

@ -58,7 +58,6 @@ void* activeDefragAlloc(void *ptr) {
void *newptr; void *newptr;
if(!je_get_defrag_hint(ptr)) { if(!je_get_defrag_hint(ptr)) {
server.stat_active_defrag_misses++; server.stat_active_defrag_misses++;
size = zmalloc_size(ptr);
return NULL; return NULL;
} }
/* move this allocation to a new allocation. /* move this allocation to a new allocation.