PCI: hisi: Remove unused platform data
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 6 Oct 2016 18:34:25 +0000 (13:34 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Oct 2016 02:38:45 +0000 (21:38 -0500)
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>
drivers/pci/host/pcie-hisi.c

index 1c0802862b5d10ec7e424ce75c1aa00c167b4785..d4a5812d5f14b2b9403e049805381245b138b2ed 100644 (file)
@@ -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;