summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2016-10-11 23:13:24 -0500
committerBjorn Helgaas <bhelgaas@google.com>2016-10-11 23:13:24 -0500
commit9f6a148f829aa615b8fc638dad13f547c77790f4 (patch)
tree3e5df0906dc7498e48c84e7d5de1881268eb2eca /drivers/pci
parentc11125ebe746bfa4187d74cef52095104fc1334f (diff)
PCI: layerscape: Remove unused platform data
The layerscape 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/pci-layerscape.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pci-layerscape.c b/drivers/pci/host/pci-layerscape.c
index 08b511e62e36..ebed415e3a05 100644
--- a/drivers/pci/host/pci-layerscape.c
+++ b/drivers/pci/host/pci-layerscape.c
@@ -267,8 +267,6 @@ static int __init ls_pcie_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
- platform_set_drvdata(pdev, pcie);
-
return 0;
}