diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index b53a43a9462..e37d1c7ce72 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -20,7 +20,6 @@ pkg/registry/core/service/ipallocator pkg/registry/core/service/portallocator pkg/registry/core/service/storage pkg/util/coverage -pkg/util/ebtables pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing diff --git a/pkg/util/ebtables/ebtables.go b/pkg/util/ebtables/ebtables.go index ae84b5d0a16..4e88d19e62c 100644 --- a/pkg/util/ebtables/ebtables.go +++ b/pkg/util/ebtables/ebtables.go @@ -20,7 +20,6 @@ import ( "fmt" "regexp" "strings" - "sync" utilexec "k8s.io/utils/exec" ) @@ -86,7 +85,6 @@ type Interface interface { // runner implements Interface in terms of exec("ebtables"). type runner struct { - mu sync.Mutex exec utilexec.Interface }