commit | dcaa73dc3411c4d771d1d6a950c6b8a9c71da089 | [log] [tgz] |
---|---|---|
author | Yijing Wang <wangyijing@huawei.com> | Mon Sep 09 21:13:05 2013 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Sep 24 12:13:03 2013 -0600 |
tree | 48fb325e8393b39f3add14583d42aa0a23e60a09 | |
parent | 503275bf371fbab01a14f2e9fd1ac7aa20c81645 [diff] |
IB/qib: Use pci_is_root_bus() to check whether it is a root bus 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>