summaryrefslogtreecommitdiff
path: root/lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2022-09-17 00:02:22 -0600
committerLuke Shumaker <lukeshu@lukeshu.com>2022-09-17 15:34:03 -0600
commit4649251d68744b9ba9ebbf62cf65f849aac0bfdc (patch)
treeb4b649335da81cce7911f1ba6764fc61257c4016 /lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go
parent8d9e7a0ab86225515feb34e33f91801ccc1615c9 (diff)
split files
Diffstat (limited to 'lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go')
-rw-r--r--lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go
index 3ab0881..5b1844d 100644
--- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go
+++ b/lib/btrfsprogs/btrfsinspect/rebuildnodes/visualizenodes.go
@@ -27,10 +27,6 @@ import (
"git.lukeshu.com/btrfs-progs-ng/lib/maps"
)
-func ptrTo[T any](x T) *T {
- return &x
-}
-
func getCliques(uuidMap uuidMap, treeAncestors map[btrfsprim.ObjID]containers.Set[btrfsprim.ObjID]) map[btrfsprim.ObjID]*containers.Set[btrfsprim.ObjID] {
cliques := make(map[btrfsprim.ObjID]*containers.Set[btrfsprim.ObjID])
lister := newFullAncestorLister(uuidMap, treeAncestors)