Remove dead code in defrag.c (ziplist encoded list)
@@ -843,9 +843,6 @@ long defragKey(redisDb *db, dictEntry *de) {
} else if (ob->type == OBJ_LIST) {
if (ob->encoding == OBJ_ENCODING_QUICKLIST) {
defragged += defragQuicklist(db, de);
- } else if (ob->encoding == OBJ_ENCODING_ZIPLIST) {
- if ((newzl = activeDefragAlloc(ob->ptr)))
- defragged++, ob->ptr = newzl;
} else {
serverPanic("Unknown list encoding");
}
