PCI: qcom: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:39:38 +0000 (13:39 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:22:45 +0000 (23:22 -0500)
The qcom 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-qcom.c

index 5ec2d440a6b724b741a08db4d142f80b131c182f..51bb0a975459b53d6533b5bcf7f77813079e7b82 100644 (file)
@@ -569,8 +569,6 @@ static int qcom_pcie_probe(struct platform_device *pdev)
                return ret;
        }
 
-       platform_set_drvdata(pdev, pcie);
-
        return 0;
 }