Skip to content

Commit

Permalink
PCI: mvebu: Remove redundant platform_set_drvdata() call
Browse files Browse the repository at this point in the history
This is already done earlier in mvebu_pcie_probe().

Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
  • Loading branch information
tpetazzoni authored and Lorenzo Pieralisi committed Aug 8, 2018
1 parent ce397d2 commit 6554f95
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pci/controller/pci-mvebu.c
Original file line number Diff line number Diff line change
Expand Up @@ -1283,8 +1283,6 @@ static int mvebu_pcie_probe(struct platform_device *pdev)

mvebu_pcie_enable(pcie);

platform_set_drvdata(pdev, pcie);

return 0;
}

Expand Down

0 comments on commit 6554f95

Please sign in to comment.