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 f0a2a60fbb6d7d9b066a98632f33ba3e788e49d3..537f58a664fa230d3f6496ff68f4e7495d0f5952 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;
 }