From: Bjorn Helgaas Date: Thu, 6 Oct 2016 18:30:57 +0000 (-0500) Subject: PCI: artpec6: Remove unused platform data X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f392bd11e6aebcfeefc5fef1ec1ecc8432f75ae0;p=linux.git PCI: artpec6: Remove unused platform data The artpec6 driver never uses the platform drvdata pointer, so don't bother setting it. No functional change intended. Signed-off-by: Bjorn Helgaas Acked-by: Jesper Nilsson --- diff --git a/drivers/pci/host/pcie-artpec6.c b/drivers/pci/host/pcie-artpec6.c index ef2f04f5b24c6..9423bf00b4c62 100644 --- a/drivers/pci/host/pcie-artpec6.c +++ b/drivers/pci/host/pcie-artpec6.c @@ -262,7 +262,6 @@ static int artpec6_pcie_probe(struct platform_device *pdev) if (ret < 0) return ret; - platform_set_drvdata(pdev, artpec6_pcie); return 0; }