Skip to content

Commit

Permalink
PCI: tegra: Remove unused platform data
Browse files Browse the repository at this point in the history
The tegra 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 a581fa9 commit 16cbff1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/pci/host/pci-tegra.c
Original file line number Diff line number Diff line change
Expand Up @@ -2266,7 +2266,6 @@ static int tegra_pcie_probe(struct platform_device *pdev)
dev_err(dev, "failed to setup debugfs: %d\n", err);
}

platform_set_drvdata(pdev, pcie);
return 0;

disable_msi:
Expand Down

0 comments on commit 16cbff1

Please sign in to comment.