diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 13:29:03 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-11 19:54:22 -0500 |
commit | ee34264eec4838e336e0af756e6ec84d5159ee41 (patch) | |
tree | 59e4586ce69404ecad7de2c7f595b9f37a1b01a7 /drivers | |
parent | fe4906778ce295e10f9c3f42071aad4895f12fbe (diff) |
PCI: altera: Remove unused platform data
The altera 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')
-rw-r--r-- | drivers/pci/host/pcie-altera.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/pci/host/pcie-altera.c b/drivers/pci/host/pcie-altera.c index eac548b47f84..b26695cbc433 100644 --- a/drivers/pci/host/pcie-altera.c +++ b/drivers/pci/host/pcie-altera.c @@ -635,8 +635,6 @@ static int altera_pcie_probe(struct platform_device *pdev) pcie_bus_configure_settings(child); pci_bus_add_devices(bus); - - platform_set_drvdata(pdev, pcie); return ret; } |