IB/qib: Use pci_is_root_bus() to check whether it is a root bus
authorYijing Wang <wangyijing@huawei.com>
Mon, 9 Sep 2013 13:13:05 +0000 (21:13 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Sep 2013 18:13:03 +0000 (12:13 -0600)
Use pci_is_root_bus() instead of "if (bus->parent)" statement
for better readability.

Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Mike Marciniszyn <mike.marciniszyn@intel.com>

No differences found