]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: remove {Get,Set}UnprivSGIO
authorJán Tomko <jtomko@redhat.com>
Thu, 13 Jan 2022 17:22:43 +0000 (18:22 +0100)
committerJán Tomko <jtomko@redhat.com>
Wed, 19 Jan 2022 12:57:59 +0000 (13:57 +0100)
These are no longer used.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/util/virutil.c
src/util/virutil.h

index 4dc421a85f94fd23b541b224107db2d0071a9bbd..8a6efd4d5c05b28156ffc419adbc699e70d25802 100644 (file)
@@ -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:
  *
index c8b8445bbc17fe2b5205291ca5370a7377cc9fb9..6bb55918ad5f67528966adc594aabdbe71927afa 100644 (file)
@@ -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);