diff --git a/scheduler/reconcile_util.go b/scheduler/reconcile_util.go index 54d7415bd..2a9ebc400 100644 --- a/scheduler/reconcile_util.go +++ b/scheduler/reconcile_util.go @@ -658,20 +658,6 @@ func (a *allocNameIndex) Highest(n uint) map[string]struct{} { return h } -// Set sets the indexes from the passed alloc set as used -func (a *allocNameIndex) Set(set allocSet) { - for _, alloc := range set { - a.b.Set(alloc.Index()) - } -} - -// Unset unsets all indexes of the passed alloc set as being used -func (a *allocNameIndex) Unset(as allocSet) { - for _, alloc := range as { - a.b.Unset(alloc.Index()) - } -} - // UnsetIndex unsets the index as having its name used func (a *allocNameIndex) UnsetIndex(idx uint) { a.b.Unset(idx)