diff --git a/src/internal/kopia/upload.go b/src/internal/kopia/upload.go index a4cae93d8..9fc987eb0 100644 --- a/src/internal/kopia/upload.go +++ b/src/internal/kopia/upload.go @@ -575,10 +575,6 @@ func inflateCollectionTree( // Temporary variable just to track the things that have been marked as // changed while keeping a reference to their path. changedPaths := []path.Path{} - ownerCats := &OwnersCats{ - ResourceOwners: make(map[string]struct{}), - ServiceCats: make(map[string]ServiceCat), - } for _, s := range collections { switch s.State() { @@ -621,10 +617,6 @@ func inflateCollectionTree( ) } - serviceCat := serviceCatTag(s.FullPath()) - ownerCats.ServiceCats[serviceCat] = ServiceCat{} - ownerCats.ResourceOwners[s.FullPath().ResourceOwner()] = struct{}{} - // Make sure there's only a single collection adding items for any given // path in the new hierarchy. if node.collection != nil {