mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	Merge pull request #82749 from xiaoanyunfei/cleanup/rm_unnecessary_return
rm unnecessary `return` at the end of function
This commit is contained in:
		@@ -218,7 +218,6 @@ func InsertPredicateKeyToAlgorithmProviderMap(key string) {
 | 
				
			|||||||
	for _, provider := range algorithmProviderMap {
 | 
						for _, provider := range algorithmProviderMap {
 | 
				
			||||||
		provider.FitPredicateKeys.Insert(key)
 | 
							provider.FitPredicateKeys.Insert(key)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// InsertPriorityKeyToAlgorithmProviderMap inserts a priority function to all algorithmProviders which are in algorithmProviderMap.
 | 
					// InsertPriorityKeyToAlgorithmProviderMap inserts a priority function to all algorithmProviders which are in algorithmProviderMap.
 | 
				
			||||||
@@ -229,7 +228,6 @@ func InsertPriorityKeyToAlgorithmProviderMap(key string) {
 | 
				
			|||||||
	for _, provider := range algorithmProviderMap {
 | 
						for _, provider := range algorithmProviderMap {
 | 
				
			||||||
		provider.PriorityFunctionKeys.Insert(key)
 | 
							provider.PriorityFunctionKeys.Insert(key)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return
 | 
					 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// RegisterMandatoryFitPredicate registers a fit predicate with the algorithm registry, the predicate is used by
 | 
					// RegisterMandatoryFitPredicate registers a fit predicate with the algorithm registry, the predicate is used by
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user