diff --git a/internal/fs/node_aix.go b/internal/fs/node_aix.go index 2967c6db7..463ed1c33 100644 --- a/internal/fs/node_aix.go +++ b/internal/fs/node_aix.go @@ -23,11 +23,6 @@ func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error { return nil } -// isListxattrPermissionError is a no-op on AIX. -func isListxattrPermissionError(_ error) bool { - return false -} - // nodeRestoreGenericAttributes is no-op on AIX. func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error { return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn) diff --git a/internal/fs/node_netbsd.go b/internal/fs/node_netbsd.go index 00e6c92ca..182050da0 100644 --- a/internal/fs/node_netbsd.go +++ b/internal/fs/node_netbsd.go @@ -20,11 +20,6 @@ func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error { return nil } -// isListxattrPermissionError is a no-op on netbsd. -func isListxattrPermissionError(_ error) bool { - return false -} - // nodeRestoreGenericAttributes is no-op on netbsd. func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error { return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn) diff --git a/internal/fs/node_openbsd.go b/internal/fs/node_openbsd.go index 590c603a3..2a7a410dd 100644 --- a/internal/fs/node_openbsd.go +++ b/internal/fs/node_openbsd.go @@ -20,11 +20,6 @@ func nodeFillExtendedAttributes(_ *restic.Node, _ string, _ bool) error { return nil } -// isListxattrPermissionError is a no-op on openbsd. -func isListxattrPermissionError(_ error) bool { - return false -} - // nodeRestoreGenericAttributes is no-op on openbsd. func nodeRestoreGenericAttributes(node *restic.Node, _ string, warn func(msg string)) error { return restic.HandleAllUnknownGenericAttributesFound(node.GenericAttributes, warn)