mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
rm unnecessary return
This commit is contained in:
parent
ba07527278
commit
11383f4471
@ -218,7 +218,6 @@ func InsertPredicateKeyToAlgorithmProviderMap(key string) {
|
||||
for _, provider := range algorithmProviderMap {
|
||||
provider.FitPredicateKeys.Insert(key)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// InsertPriorityKeyToAlgorithmProviderMap inserts a priority function to all algorithmProviders which are in algorithmProviderMap.
|
||||
@ -229,7 +228,6 @@ func InsertPriorityKeyToAlgorithmProviderMap(key string) {
|
||||
for _, provider := range algorithmProviderMap {
|
||||
provider.PriorityFunctionKeys.Insert(key)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// RegisterMandatoryFitPredicate registers a fit predicate with the algorithm registry, the predicate is used by
|
||||
|
Loading…
Reference in New Issue
Block a user