PCI: dwc: Remove surplus break statement after return
authorKrzysztof Wilczyński <kw@linux.com>
Thu, 1 Jul 2021 21:02:52 +0000 (21:02 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 31 Aug 2021 19:56:43 +0000 (14:56 -0500)
commit71121fdd79f562c891900ff21c27316ddeac73af
tree2cfbb0ebd4ea6590e75882bed24bcc9972542be2
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
PCI: dwc: Remove surplus break statement after return

As part of code refactoring completed in a0fd361db8e5 ("PCI: dwc: Move
"dbi", "dbi2", and "addr_space" resource setup into common code"),
dw_plat_add_pcie_ep() was removed and the call to the dw_pcie_ep_init() was
moved into dw_plat_pcie_probe().

This left a break statement behind that is not needed any more as as
dw_plat_pcie_probe() returns immediately after calling dw_pcie_ep_init().

Remove this surplus break statement that became dead code.

Suggested-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20210701210252.1638709-1-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/controller/dwc/pcie-designware-plat.c