mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: remove unused function virPCIGetSysfsFile()
Signed-off-by: Laine Stump <laine@redhat.com> Reviewed-by: Erik Skultety <eskultet@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
4dc39a204a
commit
25cb07498e
@ -2849,7 +2849,6 @@ virPCIGetHeaderType;
|
|||||||
virPCIGetMdevTypes;
|
virPCIGetMdevTypes;
|
||||||
virPCIGetNetName;
|
virPCIGetNetName;
|
||||||
virPCIGetPhysicalFunction;
|
virPCIGetPhysicalFunction;
|
||||||
virPCIGetSysfsFile;
|
|
||||||
virPCIGetVirtualFunctionIndex;
|
virPCIGetVirtualFunctionIndex;
|
||||||
virPCIGetVirtualFunctionInfo;
|
virPCIGetVirtualFunctionInfo;
|
||||||
virPCIGetVirtualFunctions;
|
virPCIGetVirtualFunctions;
|
||||||
|
@ -2358,14 +2358,6 @@ virPCIGetVirtualFunctionIndex(const char *pf_sysfs_device_link,
|
|||||||
* Returns a path to the PCI sysfs file given the BDF of the PCI function
|
* Returns a path to the PCI sysfs file given the BDF of the PCI function
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int
|
|
||||||
virPCIGetSysfsFile(char *virPCIDeviceName, char **pci_sysfs_device_link)
|
|
||||||
{
|
|
||||||
*pci_sysfs_device_link = g_strdup_printf(PCI_SYSFS "devices/%s",
|
|
||||||
virPCIDeviceName);
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr addr,
|
virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr addr,
|
||||||
char **pci_sysfs_device_link)
|
char **pci_sysfs_device_link)
|
||||||
@ -2633,13 +2625,6 @@ virPCIGetVirtualFunctionIndex(const char *pf_sysfs_device_link G_GNUC_UNUSED,
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
|
||||||
virPCIGetSysfsFile(char *virPCIDeviceName G_GNUC_UNUSED,
|
|
||||||
char **pci_sysfs_device_link G_GNUC_UNUSED)
|
|
||||||
{
|
|
||||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
int
|
||||||
virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr dev G_GNUC_UNUSED,
|
virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr dev G_GNUC_UNUSED,
|
||||||
|
@ -234,10 +234,6 @@ int virPCIGetNetName(const char *device_link_sysfs_path,
|
|||||||
char *physPortID,
|
char *physPortID,
|
||||||
char **netname);
|
char **netname);
|
||||||
|
|
||||||
int virPCIGetSysfsFile(char *virPCIDeviceName,
|
|
||||||
char **pci_sysfs_device_link)
|
|
||||||
G_GNUC_WARN_UNUSED_RESULT;
|
|
||||||
|
|
||||||
bool virPCIDeviceAddressIsValid(virPCIDeviceAddressPtr addr,
|
bool virPCIDeviceAddressIsValid(virPCIDeviceAddressPtr addr,
|
||||||
bool report);
|
bool report);
|
||||||
bool virPCIDeviceAddressIsEmpty(const virPCIDeviceAddress *addr);
|
bool virPCIDeviceAddressIsEmpty(const virPCIDeviceAddress *addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user