[libvirt PATCH 6/7] util: remove {Get,Set}UnprivSGIO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These are no longer used.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux