mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
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 <bhelgaas@google.com>
This commit is contained in:
parent
d963ab22ad
commit
c6fe9ebaac
1 changed files with 0 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue