Skip to content

Commit

Permalink
PCI: hisi: Remove unused platform data
Browse files Browse the repository at this point in the history
The hisi 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>
  • Loading branch information
Bjorn Helgaas committed Oct 12, 2016
1 parent 88790f9 commit d5d4f6e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pci/host/pcie-hisi.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ static int hisi_pcie_probe(struct platform_device *pdev)
if (ret)
return ret;

platform_set_drvdata(pdev, hisi_pcie);

dev_warn(dev, "only 32-bit config accesses supported; smaller writes may corrupt adjacent RW1C fields\n");

return 0;
Expand Down

0 comments on commit d5d4f6e

Please sign in to comment.