mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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>
This commit is contained in:
parent
b6e94f33cf
commit
f71d148f1a
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue