Skip to content

Commit

Permalink
PCI: xilinx-nwl: Remove unused platform data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bjorn Helgaas committed Oct 12, 2016
1 parent adf9e28 commit 228ee66
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pcie-xilinx-nwl.c
Original file line number Diff line number Diff line change
@@ -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:

0 comments on commit 228ee66

Please sign in to comment.