diff options
author | Bjorn Helgaas | 2016-10-06 13:44:43 -0500 |
---|---|---|
committer | Bjorn Helgaas | 2016-10-12 00:00:51 -0500 |
commit | 228ee66c460bbb1f76d7cac0c532ea2ad46f8d0f (patch) | |
tree | 3cfbadb321e79de7a2d2c73bce7529d8a6d57a66 | |
parent | adf9e284b4f76dccb44d1321a02ad2fd7d4e8a1c (diff) |
PCI: xilinx-nwl: Remove unused platform data
The xilinx-nwl 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>
-rw-r--r-- | drivers/pci/host/pcie-xilinx-nwl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-xilinx-nwl.c b/drivers/pci/host/pcie-xilinx-nwl.c index 10d4517f588a..43eaa4afab94 100644 --- a/drivers/pci/host/pcie-xilinx-nwl.c +++ b/drivers/pci/host/pcie-xilinx-nwl.c @@ -861,7 +861,6 @@ static int nwl_pcie_probe(struct platform_device *pdev) list_for_each_entry(child, &bus->children, node) pcie_bus_configure_settings(child); pci_bus_add_devices(bus); - platform_set_drvdata(pdev, pcie); return 0; error: |