These are no longer used.
Signed-off-by: Ján Tomko <jtomko(a)redhat.com>
---
src/util/virutil.c | 21 ---------------------
src/util/virutil.h | 7 -------
2 files changed, 28 deletions(-)
diff --git a/src/util/virutil.c b/src/util/virutil.c
index 4dc421a85f..8a6efd4d5c 100644
--- a/src/util/virutil.c
+++ b/src/util/virutil.c
@@ -1325,27 +1325,6 @@ virValidateWWN(const char *wwn)
}
-int
-virSetDeviceUnprivSGIO(const char *path G_GNUC_UNUSED,
- const char *sysfs_dir G_GNUC_UNUSED,
- int unpriv_sgio G_GNUC_UNUSED)
-{
- virReportError(VIR_ERR_OPERATION_INVALID, "%s",
- _("unpriv_sgio is not supported by this kernel"));
- return -1;
-}
-
-int
-virGetDeviceUnprivSGIO(const char *path G_GNUC_UNUSED,
- const char *sysfs_dir G_GNUC_UNUSED,
- int *unpriv_sgio G_GNUC_UNUSED)
-{
- virReportError(VIR_ERR_OPERATION_INVALID, "%s",
- _("unpriv_sgio is not supported by this kernel"));
- return -1;
-}
-
-
/**
* virParseOwnershipIds:
*
diff --git a/src/util/virutil.h b/src/util/virutil.h
index c8b8445bbc..6bb55918ad 100644
--- a/src/util/virutil.h
+++ b/src/util/virutil.h
@@ -116,13 +116,6 @@ bool virDoesGroupExist(const char *name);
bool virValidateWWN(const char *wwn);
-int virSetDeviceUnprivSGIO(const char *path,
- const char *sysfs_dir,
- int unpriv_sgio);
-int virGetDeviceUnprivSGIO(const char *path,
- const char *sysfs_dir,
- int *unpriv_sgio);
-
int virParseOwnershipIds(const char *label, uid_t *uidPtr, gid_t *gidPtr);
--
2.31.1