diff --git a/pkg/controller/nodelifecycle/node_lifecycle_controller.go b/pkg/controller/nodelifecycle/node_lifecycle_controller.go index 510210881e4..da04e6256cf 100644 --- a/pkg/controller/nodelifecycle/node_lifecycle_controller.go +++ b/pkg/controller/nodelifecycle/node_lifecycle_controller.go @@ -23,8 +23,6 @@ package nodelifecycle import ( "fmt" - "hash/fnv" - "io" "sync" "time" @@ -1276,9 +1274,3 @@ func (nc *Controller) reconcileNodeLabels(nodeName string) error { } return nil } - -func hash(val string, max int) int { - hasher := fnv.New32a() - io.WriteString(hasher, val) - return int(hasher.Sum32()) % max -}