From b91ef3f1ff617549129437d1162e0f43f9628454 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Wed, 28 Aug 2024 11:01:27 +0200 Subject: [PATCH] fs: remove dead code --- internal/fs/node_aix.go | 5 ----- internal/fs/node_netbsd.go | 5 ----- internal/fs/node_openbsd.go | 5 ----- 3 files changed, 15 deletions(-) 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)