Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit dcaa73dc authored by Yijing Wang's avatar Yijing Wang Committed by Bjorn Helgaas
Browse files

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: default avatarYijing Wang <wangyijing@huawei.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
parent 503275bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment