projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d963ab2
)
PCI: xgene: Remove unused platform data
author
Bjorn Helgaas
<bhelgaas@google.com>
Thu, 6 Oct 2016 18:43:42 +0000
(13:43 -0500)
committer
Bjorn Helgaas
<bhelgaas@google.com>
Wed, 12 Oct 2016 04:48:33 +0000
(23:48 -0500)
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>
drivers/pci/host/pci-xgene.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/host/pci-xgene.c
b/drivers/pci/host/pci-xgene.c
index 03d24e72ac524b8e463744c4a13b8823cf36dc73..7da3b09e8f264b635e0706d90170a389cfd4456d 100644
(file)
--- 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: