[#1129] policer: Drop unused

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2024-05-15 15:50:16 +03:00
parent cbe9757490
commit 4ab6c404f7

View file

@ -54,11 +54,6 @@ func (p *Policer) processRepContainerObject(ctx context.Context, objInfo objectc
c := &placementRequirements{} c := &placementRequirements{}
var numOfContainerNodes int
for i := range nn {
numOfContainerNodes += len(nn[i])
}
// cached info about already checked nodes // cached info about already checked nodes
checkedNodes := newNodeCache() checkedNodes := newNodeCache()