Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee34264e authored by Bjorn Helgaas's avatar Bjorn Helgaas
Browse files

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: default avatarBjorn Helgaas <bhelgaas@google.com>
parent fe490677
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -635,8 +635,6 @@ static int altera_pcie_probe(struct platform_device *pdev)
		pcie_bus_configure_settings(child);
		pcie_bus_configure_settings(child);


	pci_bus_add_devices(bus);
	pci_bus_add_devices(bus);

	platform_set_drvdata(pdev, pcie);
	return ret;
	return ret;
}
}