Commit 3323ab8f authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

x86/PCI: Remove unnecessary list_empty(&pci_root_infos) check



list_for_each_entry() handles empty lists, so there's no need to check
whether the list is empty first.

Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 25453e9e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment