提交 f71d148f 编写于 作者: A Andy Shevchenko 提交者: Tejun Heo

sata_dwc_460ex: remove redundant dev_set_drvdata

Driver core sets it to NULL upon probe failure or release.
Signed-off-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: NTejun Heo <tj@kernel.org>
上级 b6e94f33
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册