[PATCH 2/6] PCI/arm: Use list_for_each_entry() for bus traversal (original) (raw)

Yijing Wang wangyijing at huawei.com
Thu Feb 13 05:13:59 PST 2014


Replace list_for_each() + pci_bus_b() with the simpler list_for_each_entry().

Signed-off-by: Yijing Wang <wangyijing at huawei.com>

arch/arm/kernel/bios32.c | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/arch/arm/kernel/bios32.c b/arch/arm/kernel/bios32.c index 317da88..0a77858 100644 --- a/arch/arm/kernel/bios32.c +++ b/arch/arm/kernel/bios32.c @@ -57,13 +57,10 @@ static void pcibios_bus_report_status(struct pci_bus *bus, u_int status_mask, in void pcibios_report_status(u_int status_mask, int warn) { - struct list_head *l;

-- 1.7.1



More information about the dri-devel mailing list