[PATCH dwc-next 2/3] PCI: dwc: al: Remove useless dw_pcie_ops

From: Jisheng Zhang
Date: Mon Oct 05 2020 - 05:16:41 EST


We have removed the dw_pcie_ops always exists assumption in dwc
core driver, we can remove the useless dw_pcie_ops now.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@xxxxxxxxxxxxx>
---
drivers/pci/controller/dwc/pcie-al.c | 4 ----
1 file changed, 4 deletions(-)

diff --git a/drivers/pci/controller/dwc/pcie-al.c b/drivers/pci/controller/dwc/pcie-al.c
index f973fbca90cf..a1fe1b847ef1 100644
--- a/drivers/pci/controller/dwc/pcie-al.c
+++ b/drivers/pci/controller/dwc/pcie-al.c
@@ -339,9 +339,6 @@ static int al_add_pcie_port(struct pcie_port *pp,
return 0;
}

-static const struct dw_pcie_ops dw_pcie_ops = {
-};
-
static int al_pcie_probe(struct platform_device *pdev)
{
struct device *dev = &pdev->dev;
@@ -360,7 +357,6 @@ static int al_pcie_probe(struct platform_device *pdev)
return -ENOMEM;

pci->dev = dev;
- pci->ops = &dw_pcie_ops;

al_pcie->pci = pci;
al_pcie->dev = dev;
--
2.28.0