PCI: xilinx: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:44:42 +0000 (13:44 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 04:59:51 +0000 (23:59 -0500)
The xilinx 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.c

index 2ef47af..8a0eb03 100644 (file)
@@ -688,8 +688,6 @@ static int xilinx_pcie_probe(struct platform_device *pdev)
        pci_fixup_irqs(pci_common_swizzle, of_irq_parse_and_map_pci);
 #endif
        pci_bus_add_devices(bus);
-       platform_set_drvdata(pdev, port);
-
        return 0;
 
 error: