diff mbox series

PCI: drop dead pci_lock_*pdev() declarations

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

Commit Message

Jan Beulich Oct. 23, 2020, 8:02 a.m. UTC
They have no definitions, and hence users, anywhere.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Julien Grall Oct. 23, 2020, 4:04 p.m. UTC | #1
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 *));
>
diff mbox series

Patch

--- 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 *));