From: Bjorn Helgaas Date: Fri, 24 Jan 2014 18:57:18 +0000 (-0700) Subject: x86/PCI: Remove unnecessary list_empty(&pci_root_infos) check X-Git-Tag: v3.15-rc1~143^2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3323ab8f7a2f8ffed9393388863bf17329077524;p=pandora-kernel.git 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 Acked-by: Rafael J. Wysocki --- Reading git-diff-tree failed