mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
PCI: remove unused pcidevs_trylock()
pcidevs_trylock() is used nowhere, so remove it. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Paul Durrant <paul@xen.org>
This commit is contained in:
1 parent
e19bcb626f
commit
2a5f9f6a69
2 files changed
-6
No files matched your search
@@ -69,11 +69,6 @@ bool_t pcidevs_locked(void)
|
||||
return !!spin_is_locked(&_pcidevs_lock);
|
||||
}
|
||||
|
||||
bool_t pcidevs_trylock(void)
|
||||
{
|
||||
return !!spin_trylock_recursive(&_pcidevs_lock);
|
||||
}
|
||||
|
||||
static struct radix_tree_root pci_segments;
|
||||
|
||||
static inline struct pci_seg *get_pseg(u16 seg)
|
||||
|
||||
@@ -148,7 +148,6 @@ struct pci_dev {
|
||||
void pcidevs_lock(void);
|
||||
void pcidevs_unlock(void);
|
||||
bool_t __must_check pcidevs_locked(void);
|
||||
bool_t __must_check pcidevs_trylock(void);
|
||||
|
||||
bool_t pci_known_segment(u16 seg);
|
||||
bool_t pci_device_detect(u16 seg, u8 bus, u8 dev, u8 func);
|
||||
|
||||