From 580189ee3e43d5595a8700ee21b8900b0dd5389d Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 15 Nov 2022 20:57:04 -0700 Subject: Delete 'inspect visualize-nodes' --- lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go') diff --git a/lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go b/lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go index 7e0eab1..f1033e6 100644 --- a/lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go +++ b/lib/btrfsprogs/btrfsinspect/rebuildnodes/util.go @@ -10,10 +10,6 @@ import ( "git.lukeshu.com/btrfs-progs-ng/lib/btrfsprogs/btrfsinspect" ) -func ptrTo[T any](x T) *T { - return &x -} - func maybeSet[K, V comparable](name string, m map[K]V, k K, v V) error { if other, conflict := m[k]; conflict && other != v { return fmt.Errorf("conflict: %s %v can't have both %v and %v", name, k, other, v) -- cgit v1.2.3-2-g168b