It only has a single, trivial caller.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
src/security/security_dac.c | 21 ++++-----------------
1 file changed, 4 insertions(+), 17 deletions(-)
diff --git a/src/security/security_dac.c b/src/security/security_dac.c
index c07e488db7..35b9b56c66 100644
--- a/src/security/security_dac.c
+++ b/src/security/security_dac.c
@@ -972,10 +972,10 @@ virSecurityDACSetImageLabel(virSecurityManager *mgr,
}
static int
-virSecurityDACRestoreImageLabelSingle(virSecurityManager *mgr,
- virDomainDef *def,
- virStorageSource *src,
- bool migrated)
+virSecurityDACRestoreImageLabelInt(virSecurityManager *mgr,
+ virDomainDef *def,
+ virStorageSource *src,
+ bool migrated)
{
virSecurityDACData *priv = virSecurityManagerGetPrivateData(mgr);
virSecurityLabelDef *secdef;
@@ -1047,19 +1047,6 @@ virSecurityDACRestoreImageLabelSingle(virSecurityManager *mgr,
}
-static int
-virSecurityDACRestoreImageLabelInt(virSecurityManager *mgr,
- virDomainDef *def,
- virStorageSource *src,
- bool migrated)
-{
- if (virSecurityDACRestoreImageLabelSingle(mgr, def, src, migrated) < 0)
- return -1;
-
- return 0;
-}
-
-
static int
virSecurityDACRestoreImageLabel(virSecurityManager *mgr,
virDomainDef *def,
--
2.42.0