git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38dbfb5
)
PCI: Remove unnecessary list_empty(&pci_pme_list) check
author
Bjorn Helgaas
<bhelgaas@google.com>
Fri, 24 Jan 2014 16:51:06 +0000
(09:51 -0700)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Tue, 4 Feb 2014 06:11:31 +0000
(22:11 -0800)
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
patch
|
blob
|
history
diff --cc
drivers/pci/pci.c
Simple merge