aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas2021-09-02 14:56:45 -0500
committerBjorn Helgaas2021-09-02 14:56:45 -0500
commitbd8bb4d097e4ca31c234b4dfce8b2efaf11d9889 (patch)
tree5ed3138d320f632603bfff7b027490f1670f00b4 /drivers/pci
parentdbf0b9bad040049cab56d39cc2a4d16f26135586 (diff)
parent71121fdd79f562c891900ff21c27316ddeac73af (diff)
Merge branch 'pci/dwc'
- Remove surplus break statement (Krzysztof WilczyƄski) * pci/dwc: PCI: dwc: Remove surplus break statement after return
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/controller/dwc/pcie-designware-plat.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pcie-designware-plat.c b/drivers/pci/controller/dwc/pcie-designware-plat.c
index 9b397c807261..8851eb161a0e 100644
--- a/drivers/pci/controller/dwc/pcie-designware-plat.c
+++ b/drivers/pci/controller/dwc/pcie-designware-plat.c
@@ -164,7 +164,6 @@ static int dw_plat_pcie_probe(struct platform_device *pdev)
pci->ep.ops = &pcie_ep_ops;
return dw_pcie_ep_init(&pci->ep);
- break;
default:
dev_err(dev, "INVALID device type %d\n", dw_plat_pcie->mode);
}