Skip to content

Commit ee34264

Browse files
committed
PCI: altera: Remove unused platform data
The altera 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>
1 parent fe49067 commit ee34264

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/pci/host/pcie-altera.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,6 @@ static int altera_pcie_probe(struct platform_device *pdev)
635635
pcie_bus_configure_settings(child);
636636

637637
pci_bus_add_devices(bus);
638-
639-
platform_set_drvdata(pdev, pcie);
640638
return ret;
641639
}
642640

0 commit comments

Comments
 (0)