forked from TrueCloudLab/frostfs-node
[#1818] writecache: Remove unused variable
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
bb52857b2b
commit
a56927e3d4
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue