]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: rcar: Simplify host bridge window iteration
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 28 May 2016 23:37:46 +0000 (18:37 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 25 Jun 2016 12:44:23 +0000 (07:44 -0500)
commit4c540a35c06963fa853a14daaf9a4f7df39856d5
treedbf13fd52f35046281e9d4ede0ab446cacb3a82e
parent6fd7f550975a2186493dbea6170acbe7da3b8ab9
PCI: rcar: Simplify host bridge window iteration

The switch is the only statement in the resource_list_for_each_entry()
loop, so remove unnecessary cases and "continue" statements in the switch.
Inline rcar_pcie_release_of_pci_ranges(), which is only called once.

No functional change intended.

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