summaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-02-18 14:33:46 -0700
committerBjorn Helgaas <bhelgaas@google.com>2014-02-18 14:33:46 -0700
commit6354647f55b9848dc9aaa091e2f762ca1a3eb085 (patch)
treecec2c643c1635d92d903444f2e6586eda75110dc /include/linux/pci.h
parentc128856b48b1a7132166c6b37a53b086d549fbde (diff)
parent94e6a9b93064b49024b8701d2d81fcb4a821fa09 (diff)
downloadlinux-6354647f55b9848dc9aaa091e2f762ca1a3eb085.tar.gz
linux-6354647f55b9848dc9aaa091e2f762ca1a3eb085.tar.bz2
linux-6354647f55b9848dc9aaa091e2f762ca1a3eb085.zip
Merge branch 'pci/list-for-each-entry' into next
* pci/list-for-each-entry: PCI: Remove pci_bus_b() and use list_for_each_entry() directly pcmcia: Use list_for_each_entry() for bus traversal powerpc/PCI: Use list_for_each_entry() for bus traversal drm: Use list_for_each_entry() for bus traversal ARM/PCI: Use list_for_each_entry() for bus traversal ACPI / hotplug / PCI: Use list_for_each_entry() for bus traversal
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 1e26fc602adc..27b1b9b6dba5 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -463,7 +463,6 @@ struct pci_bus {
unsigned int is_added:1;
};
-#define pci_bus_b(n) list_entry(n, struct pci_bus, node)
#define to_pci_bus(n) container_of(n, struct pci_bus, dev)
/*