Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f71d148f authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Tejun Heo
Browse files

sata_dwc_460ex: remove redundant dev_set_drvdata



Driver core sets it to NULL upon probe failure or release.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent b6e94f33
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);