From: Thomas Petazzoni Date: Fri, 3 Aug 2018 14:38:43 +0000 (+0200) Subject: PCI: mvebu: Remove redundant platform_set_drvdata() call X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6554f9501915101ba89aab6e40c83139d23f853a;p=linux.git PCI: mvebu: Remove redundant platform_set_drvdata() call This is already done earlier in mvebu_pcie_probe(). Signed-off-by: Thomas Petazzoni Signed-off-by: Lorenzo Pieralisi --- diff --git a/drivers/pci/controller/pci-mvebu.c b/drivers/pci/controller/pci-mvebu.c index 23e270839e6a8..38fa2d08527d9 100644 --- a/drivers/pci/controller/pci-mvebu.c +++ b/drivers/pci/controller/pci-mvebu.c @@ -1283,8 +1283,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev) mvebu_pcie_enable(pcie); - platform_set_drvdata(pdev, pcie); - return 0; }