diff options
author | 2013-09-09 21:13:05 +0800 | |
---|---|---|
committer | 2013-09-24 12:13:03 -0600 | |
commit | dcaa73dc3411c4d771d1d6a950c6b8a9c71da089 (patch) | |
tree | 48fb325e8393b39f3add14583d42aa0a23e60a09 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tile/PCI: use cached pci_dev->pcie_mpss to simplify code (diff) | |
download | linux-dev-dcaa73dc3411c4d771d1d6a950c6b8a9c71da089.tar.xz linux-dev-dcaa73dc3411c4d771d1d6a950c6b8a9c71da089.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions