PCI: designware-plat: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:32:15 +0000 (13:32 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 11 Oct 2016 13:38:46 +0000 (08:38 -0500)
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 <bhelgaas@google.com>
drivers/pci/host/pcie-designware-plat.c

index f0a2a60..537f58a 100644 (file)
@@ -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;
 }