diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index 02734dfb421..84dc2b0a146 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/netsh pkg/volume pkg/volume/awsebs pkg/volume/azure_dd diff --git a/pkg/util/netsh/netsh.go b/pkg/util/netsh/netsh.go index a9f1731b45d..580e1482f52 100644 --- a/pkg/util/netsh/netsh.go +++ b/pkg/util/netsh/netsh.go @@ -21,7 +21,6 @@ import ( "net" "os" "strings" - "sync" "time" "k8s.io/klog" @@ -54,7 +53,6 @@ const ( // runner implements Interface in terms of exec("netsh"). type runner struct { - mu sync.Mutex exec utilexec.Interface }