From: Andy Shevchenko Date: Tue, 19 Aug 2014 17:29:20 +0000 (+0300) Subject: spi/pxa2xx-pci: remove unnecessary assignment X-Git-Tag: v3.18-rc1~145^2~1^3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=468e0f47ed87350408ddac0e942fbf9a723408f9;p=~emulex%2Finfiniband.git spi/pxa2xx-pci: remove unnecessary assignment There is no need to unset driver data pointer at removal stage. Signed-off-by: Andy Shevchenko Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-pxa2xx-pci.c b/drivers/spi/spi-pxa2xx-pci.c index 20ebbc76469..536c863bebf 100644 --- a/drivers/spi/spi-pxa2xx-pci.c +++ b/drivers/spi/spi-pxa2xx-pci.c @@ -123,7 +123,6 @@ static void pxa2xx_spi_pci_remove(struct pci_dev *dev) platform_device_unregister(pdev); clk_unregister(spi_pdata->ssp.clk); - pci_set_drvdata(dev, NULL); } static const struct pci_device_id pxa2xx_spi_pci_devices[] = {