From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:43:42 +0000 (-0500) Subject: PCI: xgene: Remove unused platform data X-Git-Tag: v4.9.8~1146^2~2^9~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c6fe9ebaacc46c8e5bdf2134357eaffbb508a16f;p=platform%2Fkernel%2Flinux-rpi3.git PCI: xgene: Remove unused platform data The xgene 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/pci-xgene.c b/drivers/pci/host/pci-xgene.c index 03d24e7..7da3b09 100644 --- a/drivers/pci/host/pci-xgene.c +++ b/drivers/pci/host/pci-xgene.c @@ -563,8 +563,6 @@ static int xgene_pcie_probe_bridge(struct platform_device *pdev) pci_scan_child_bus(bus); pci_assign_unassigned_bus_resources(bus); pci_bus_add_devices(bus); - - platform_set_drvdata(pdev, port); return 0; error: