diff options
author | Krzysztof Wilczyński <kw@linux.com> | 2021-07-01 23:44:00 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-08-31 22:53:06 +0300 |
commit | ee6f85683e859728eba6cbca6ed338fb608286b3 (patch) | |
tree | 29ea2b1e4db99d56dab5ad5404848177caf58037 /drivers/pci/controller/pci-versatile.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) | |
download | linux-ee6f85683e859728eba6cbca6ed338fb608286b3.tar.xz |
PCI: artpec6: 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"),
artpec6_add_pcie_ep() was removed and the call to the dw_pcie_ep_init()
was moved into artpec6_pcie_probe().
This left a break statement behind that is not needed any more as
artpec6_pcie_probe() returns immediately after calling dw_pcie_ep_init().
Remove this surplus break statement that became dead code.
Link: https://lore.kernel.org/r/20210701204401.1636562-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>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'drivers/pci/controller/pci-versatile.c')
0 files changed, 0 insertions, 0 deletions