PCI: Remove unnecessary list_empty(&pci_pme_list) check
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 24 Jan 2014 16:51:06 +0000 (09:51 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 4 Feb 2014 06:11:31 +0000 (22:11 -0800)
commitce300008023fc4ddb561c48bf7e157c8e6279f46
tree528d32596ec70f3cb03bef6a57c41174edb42b71
parent38dbfb59d1175ef458d006556061adeaa8751b72
PCI: Remove unnecessary list_empty(&pci_pme_list) check

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

No functional change.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Rafael J. Wysocki <rjw@rjwysocki.net>
drivers/pci/pci.c