Mailing List Archive

[xen staging] PCI: drop dead pci_lock_*pdev() declarations
commit 20cd1be5e29577ba4c6c952cc86dfd7cfbd841b3
Author: Jan Beulich <jbeulich@suse.com>
AuthorDate: Mon Oct 26 14:39:42 2020 +0100
Commit: Jan Beulich <jbeulich@suse.com>
CommitDate: Mon Oct 26 14:39:42 2020 +0100

PCI: drop dead pci_lock_*pdev() declarations

They have no definitions, and hence users, anywhere.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
---
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 *));
--
generated by git-patchbot for /home/xen/git/xen.git#staging