x86/PCI: Remove unnecessary list_empty(&pci_root_infos) check
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 18:57:18 +0000 (11:57 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 3 Feb 2014 17:38:52 +0000 (10:38 -0700)
commit3323ab8f7a2f8ffed9393388863bf17329077524
treef7835d1f333132eea34360811a51b5f242785736
parent25453e9e521382883b6588ef1748ed61efc77001
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: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/x86/pci/bus_numa.c