Browse Source

PCI: tegra: Remove unused platform data

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>
Bjorn Helgaas 8 years ago
parent
commit
16cbff1407
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/pci/host/pci-tegra.c

+ 0 - 1
drivers/pci/host/pci-tegra.c

@@ -2266,7 +2266,6 @@ static int tegra_pcie_probe(struct platform_device *pdev)
 			dev_err(dev, "failed to setup debugfs: %d\n", err);
 			dev_err(dev, "failed to setup debugfs: %d\n", err);
 	}
 	}
 
 
-	platform_set_drvdata(pdev, pcie);
 	return 0;
 	return 0;
 
 
 disable_msi:
 disable_msi: