util: remove {Get,Set}UnprivSGIO

These are no longer used.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
Ján Tomko 2022-01-13 18:22:43 +01:00
parent 44aaa02992
commit 8120021860
2 changed files with 0 additions and 28 deletions

View 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:
*

View 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);