diff --git a/pkg/local_object_storage/writecache/flush.go b/pkg/local_object_storage/writecache/flush.go index 5ac7c67ca8..ef1a6543b5 100644 --- a/pkg/local_object_storage/writecache/flush.go +++ b/pkg/local_object_storage/writecache/flush.go @@ -137,8 +137,6 @@ func (c *cache) flushBigObjects() { break } - evictNum := 0 - var prm common.IteratePrm prm.LazyHandler = func(addr oid.Address, f func() ([]byte, error)) error { sAddr := addr.EncodeToString() @@ -176,8 +174,6 @@ func (c *cache) flushBigObjects() { // mark object as flushed c.flushed.Add(sAddr, false) - evictNum++ - return nil }