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)
commit5aa182a26ca6b2427473d9c61e369c860fca628c
tree3f54d5f7b1590c55e4129f41e7d98371c62c9df0
parentb7f957ac272cb6f7a36536a1801b4da453df9c9b
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