From 4ab6c404f7cf401935af4fd1e1a7aa7c22a09dd0 Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Wed, 15 May 2024 15:50:16 +0300 Subject: [PATCH] [#1129] policer: Drop unused Signed-off-by: Dmitrii Stepanov --- pkg/services/policer/check.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkg/services/policer/check.go b/pkg/services/policer/check.go index 2cdb7250..04456fb2 100644 --- a/pkg/services/policer/check.go +++ b/pkg/services/policer/check.go @@ -54,11 +54,6 @@ func (p *Policer) processRepContainerObject(ctx context.Context, objInfo objectc c := &placementRequirements{} - var numOfContainerNodes int - for i := range nn { - numOfContainerNodes += len(nn[i]) - } - // cached info about already checked nodes checkedNodes := newNodeCache()