Explorar o código

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>
Bjorn Helgaas %!s(int64=9) %!d(string=hai) anos
pai
achega
228ee66c46
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      drivers/pci/host/pcie-xilinx-nwl.c

+ 0 - 1
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: