From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:44:43 +0000 (-0500) Subject: PCI: xilinx-nwl: Remove unused platform data X-Git-Tag: android-x86-7.1-r1~534^2~2^10 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=228ee66c460bbb1f76d7cac0c532ea2ad46f8d0f;p=android-x86%2Fkernel.git 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 --- 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: