diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-01-07 15:24:20 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-01-08 08:26:53 -0500 |
commit | f71d148f1adf82edef467d41a2a3be22b36811f0 (patch) | |
tree | 8551e0701cbeef08153157d6449235a3a1a33a03 /drivers/ata/sata_dwc_460ex.c | |
parent | b6e94f33cff6907c713ad88a06f964e35188faaa (diff) | |
download | linux-f71d148f1adf82edef467d41a2a3be22b36811f0.tar.gz linux-f71d148f1adf82edef467d41a2a3be22b36811f0.tar.bz2 linux-f71d148f1adf82edef467d41a2a3be22b36811f0.zip |
sata_dwc_460ex: remove redundant dev_set_drvdata
Driver core sets it to NULL upon probe failure or release.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
-rw-r--r-- | drivers/ata/sata_dwc_460ex.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c index 8e8248179d20..5c3439558144 100644 --- a/drivers/ata/sata_dwc_460ex.c +++ b/drivers/ata/sata_dwc_460ex.c @@ -1783,7 +1783,6 @@ static int sata_dwc_remove(struct platform_device *ofdev) struct sata_dwc_device *hsdev = host->private_data; ata_host_detach(host); - dev_set_drvdata(dev, NULL); /* Free SATA DMA resources */ dma_dwc_exit(hsdev); |