From: Jan Beulich Date: Mon, 26 Oct 2020 13:39:42 +0000 (+0100) Subject: PCI: drop dead pci_lock_*pdev() declarations X-Git-Tag: archive/raspbian/4.16.0+51-g0941d6cb-1+rpi1~2^2~42^2~1459 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=20cd1be5e29577ba4c6c952cc86dfd7cfbd841b3;p=xen.git PCI: drop dead pci_lock_*pdev() declarations They have no definitions, and hence users, anywhere. Signed-off-by: Jan Beulich Acked-by: Julien Grall --- 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 *));