OSDN Git Service

PCI: Remove pci_bus_b() and use list_for_each_entry() directly
authorYijing Wang <wangyijing@huawei.com>
Thu, 13 Feb 2014 13:14:03 +0000 (21:14 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 14 Feb 2014 19:32:26 +0000 (12:32 -0700)
commit94e6a9b93064b49024b8701d2d81fcb4a821fa09
treeb37fc0e841611cdd529c092184857e303e8aee66
parent560698e9d2ca77d0adb07f3cf0ebfe519859c528
PCI: Remove pci_bus_b() and use list_for_each_entry() directly

Replace list_for_each() with list_for_each_entry(), which means we no
longer need pci_bus_b() and can remove it.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c
drivers/pci/search.c
include/linux/pci.h