]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: generic: Simplify host bridge window iteration
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 28 May 2016 23:28:51 +0000 (18:28 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Jun 2016 15:10:37 +0000 (10:10 -0500)
commit3448820614e07dba7c23134aabfb12d61e8b08d8
tree3f54d5f7b1590c55e4129f41e7d98371c62c9df0
parent0878e1da982a851e4e34dba46ba6ac251c692f21
PCI: generic: Simplify host bridge window iteration

The switch is the only statement in the resource_list_for_each_entry()
loop, so remove unnecessary "continue" statements in the switch.  Remove
unnecessary "goto" statements and label.  Simplify checking for the
required non-prefetchable memory aperture.

No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pci-host-common.c