From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:29:03 +0000 (-0500) Subject: PCI: altera: Remove unused platform data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ee34264eec4838e336e0af756e6ec84d5159ee41;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI: altera: Remove unused platform data The altera driver never uses the platform drvdata pointer, so don't bother setting it. No functional change intended. Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c index eac548b47f84..b26695cbc433 100644 --- a/drivers/pci/host/pcie-altera.c +++ b/drivers/pci/host/pcie-altera.c @@ -635,8 +635,6 @@ static int altera_pcie_probe(struct platform_device *pdev) pcie_bus_configure_settings(child); pci_bus_add_devices(bus); - - platform_set_drvdata(pdev, pcie); return ret; }