diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-06 20:44:43 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-10-12 07:00:51 +0200 |
commit | 228ee66c460bbb1f76d7cac0c532ea2ad46f8d0f (patch) | |
tree | 3cfbadb321e79de7a2d2c73bce7529d8a6d57a66 | |
parent | PCI: xilinx-nwl: Add local struct device pointers (diff) | |
download | linux-228ee66c460bbb1f76d7cac0c532ea2ad46f8d0f.tar.xz linux-228ee66c460bbb1f76d7cac0c532ea2ad46f8d0f.zip |
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: |