瀏覽代碼

PCI: altera: Remove unused platform data

The altera 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 年之前
父節點
當前提交
ee34264eec
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/pci/host/pcie-altera.c

+ 0 - 2
drivers/pci/host/pcie-altera.c

@@ -635,8 +635,6 @@ static int altera_pcie_probe(struct platform_device *pdev)
 		pcie_bus_configure_settings(child);
 		pcie_bus_configure_settings(child);
 
 
 	pci_bus_add_devices(bus);
 	pci_bus_add_devices(bus);
-
-	platform_set_drvdata(pdev, pcie);
 	return ret;
 	return ret;
 }
 }