diff --git a/cachelib/allocator/CacheAllocator-inl.h b/cachelib/allocator/CacheAllocator-inl.h index 1abf915f82..06f08d4512 100644 --- a/cachelib/allocator/CacheAllocator-inl.h +++ b/cachelib/allocator/CacheAllocator-inl.h @@ -2930,9 +2930,6 @@ CacheAllocator::evictNormalItemForSlabRelease(Item& item) { return ItemHandle{}; } - auto evictHandle = tryEvictToNextMemoryTier(&item); - if(evictHandle) return evictHandle; - auto predicate = [](const Item& it) { return it.getRefCount() == 0; }; const bool evictToNvmCache = shouldWriteToNvmCache(item);