Skip to content

Commit

Permalink
PCI: artpec6: Remove unused platform data
Browse files Browse the repository at this point in the history
The artpec6 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>
Acked-by: Jesper Nilsson <jesper.nilsson@axis.com>
  • Loading branch information
Bjorn Helgaas committed Oct 12, 2016
1 parent e6f3115 commit f392bd1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pcie-artpec6.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,6 @@ static int artpec6_pcie_probe(struct platform_device *pdev)
if (ret < 0)
return ret;

platform_set_drvdata(pdev, artpec6_pcie);
return 0;
}

Expand Down

0 comments on commit f392bd1

Please sign in to comment.