diff mbox series

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

Message ID 20201005165753.2f98b3fd@xhacker.debian
State Superseded
Delegated to: Lorenzo Pieralisi
Headers show
Series PCI: dwc: remove useless dw_pcie_ops | expand

Commit Message

Jisheng Zhang Oct. 5, 2020, 8:57 a.m. UTC
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@synaptics.com>
---
 drivers/pci/controller/dwc/pcie-al.c | 4 ----
 1 file changed, 4 deletions(-)
diff mbox series

Patch

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;