From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:34:25 +0000 (-0500) Subject: PCI: hisi: Remove unused platform data X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5d4f6e4237aaa2bc2347d68e0ba297f884f464f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/pci/host/pcie-hisi.c b/drivers/pci/host/pcie-hisi.c index 1c0802862b5d..d4a5812d5f14 100644 --- a/drivers/pci/host/pcie-hisi.c +++ b/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;