From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:32:15 +0000 (-0500) Subject: PCI: designware-plat: Remove unused platform data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c9441d1e64c0ce224771d0985fabd75690a6d53;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git PCI: designware-plat: Remove unused platform data The designware-plat 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-designware-plat.c b/drivers/pci/host/pcie-designware-plat.c index f0a2a60fbb6d..537f58a664fa 100644 --- a/drivers/pci/host/pcie-designware-plat.c +++ b/drivers/pci/host/pcie-designware-plat.c @@ -108,7 +108,6 @@ static int dw_plat_pcie_probe(struct platform_device *pdev) if (ret < 0) return ret; - platform_set_drvdata(pdev, dw_plat_pcie); return 0; }