Skip to contentSkip to conversation

PCI: drop dead pci_lock_*pdev() declarations

PATCH In review Jan Beulich 2 participants 2 messages Oct 23, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 PCI: drop dead pci_lock_*pdev() declarations

They have no definitions, and hence users, anywhere.

xen/include/xen/pci.h +0 -3
@@ -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 *));
Acked-by on v1 1/1
#1 lore raw

Hi Jan,

Quoted 3 lines · Jan Beulich

They have no definitions, and hence users, anywhere.

Cheers,

Quoted 14 lines
xen/include/xen/pci.h +0 -3
@@ -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 *));
Signature · 1 line
Julien Grall