From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:40:27 +0000 (-0500) Subject: PCI: rcar: Remove unused platform data X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d9c64c500aecfc1623a9f21e5a563916d4730832;p=openwrt%2Fstaging%2Fblogic.git PCI: rcar: Remove unused platform data The rcar driver never uses the platform drvdata pointer, so don't bother setting it. No functional change intended. Signed-off-by: Bjorn Helgaas Acked-by: Simon Horman --- diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 821d38a0e1ff..4f352e8c8088 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c @@ -1136,7 +1136,6 @@ static int rcar_pcie_probe(struct platform_device *pdev) return -ENOMEM; pcie->dev = dev; - platform_set_drvdata(pdev, pcie); INIT_LIST_HEAD(&pcie->resources);