PCI: xilinx-nwl: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:44:43 +0000 (13:44 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 05:00:51 +0000 (00:00 -0500)
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>
drivers/pci/host/pcie-xilinx-nwl.c

index 10d4517f588aefaff8b0d75d29691c9b560dbca6..43eaa4afab9491364d660bb4ea6d07d50810cf4c 100644 (file)
@@ -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: