From 20cd1be5e29577ba4c6c952cc86dfd7cfbd841b3 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Mon, 26 Oct 2020 14:39:42 +0100 Subject: [PATCH] PCI: drop dead pci_lock_*pdev() declarations They have no definitions, and hence users, anywhere. Signed-off-by: Jan Beulich Acked-by: Julien Grall --- xen/include/xen/pci.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index 2bc4aaf453..c4d3879761 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -155,9 +155,6 @@ bool_t pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func); int scan_pci_devices(void); enum pdev_type pdev_type(u16 seg, u8 bus, u8 devfn); int find_upstream_bridge(u16 seg, u8 *bus, u8 *devfn, u8 *secbus); -struct pci_dev *pci_lock_pdev(int seg, int bus, int devfn); -struct pci_dev *pci_lock_domain_pdev( - struct domain *, int seg, int bus, int devfn); void setup_hwdom_pci_devices(struct domain *, int (*)(u8 devfn, struct pci_dev *)); -- 2.39.5