浏览代码

PCI: hisi: Remove unused platform data

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>
Bjorn Helgaas 9 年之前
父节点
当前提交
d5d4f6e423
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/pci/host/pcie-hisi.c

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

@@ -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;