commit | ba4f6d9201a7b8840786a29bfe5020cc06bf0f19 | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Sat May 28 18:33:46 2016 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Mon Jun 20 14:06:06 2016 -0500 |
tree | 0da16648e07953b0ca7c3273871e8f28e4a39f44 | |
parent | 74462284bdda85216c3cf49d52920d4164f47e80 [diff] |
PCI: altera: 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. Simplify checking for the required non-prefetchable memory aperture. Inline altera_pcie_release_of_pci_ranges(), which is only called once. No functional change intended. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>