2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 10:13:57 +08:00

PCI: layerscape: Remove unused platform data

The layerscape 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:
Bjorn Helgaas 2016-10-11 23:13:24 -05:00
parent c11125ebe7
commit 9f6a148f82

View File

@ -267,8 +267,6 @@ static int __init ls_pcie_probe(struct platform_device *pdev)
if (ret < 0)
return ret;
platform_set_drvdata(pdev, pcie);
return 0;
}