Message ID | cb644565-92c9-8dbe-8c36-54e8b6b722ad@suse.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | PCI: drop dead pci_lock_*pdev() declarations | expand |
Hi Jan, On 23/10/2020 09:02, Jan Beulich wrote: > They have no definitions, and hence users, anywhere. > > Signed-off-by: Jan Beulich <jbeulich@suse.com> Acked-by: Julien Grall <jgrall@amazon.com> Cheers, > > --- 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 > 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 *)); >
--- 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 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 *));
They have no definitions, and hence users, anywhere. Signed-off-by: Jan Beulich <jbeulich@suse.com>