Skip to content
Commit 66455f54 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

PCI: Use list_for_each_entry() for bus->devices traversal



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

Tested-by: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarYinghai Lu <yinghai@kernel.org>
parent 125e14bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment