summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-06 13:39:38 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 23:22:45 -0500
commit661a0e4ce08a54caa9ec398ad083a85aa7fe05bb (patch)
treedb168040c0c1cd2a4dd8eae58d7cab9c6cabe7dd /drivers/pci
parentf5acb5c51de2c073ee5f80d868354113ce0227ee (diff)
downloadop-kernel-dev-661a0e4ce08a54caa9ec398ad083a85aa7fe05bb.zip
op-kernel-dev-661a0e4ce08a54caa9ec398ad083a85aa7fe05bb.tar.gz
PCI: qcom: Remove unused platform data
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>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/host/pcie-qcom.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pcie-qcom.c b/drivers/pci/host/pcie-qcom.c
index 5ec2d44..51bb0a9 100644
--- a/drivers/pci/host/pcie-qcom.c
+++ b/drivers/pci/host/pcie-qcom.c
@@ -569,8 +569,6 @@ static int qcom_pcie_probe(struct platform_device *pdev)
return ret;
}
- platform_set_drvdata(pdev, pcie);
-
return 0;
}
OpenPOWER on IntegriCloud