Skip to content
Commit ce300008 authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
Acked-by: default avatarRafael J. Wysocki <rjw@rjwysocki.net>
parent 38dbfb59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment