NFC: nfcwilink: Remove redundant dev_set_drvdata

Driver core sets driver data to NULL upon failure or remove.

Cc: Ilan Elias <[email protected]>
Signed-off-by: Sachin Kamat <[email protected]>
Signed-off-by: Samuel Ortiz <[email protected]>
This commit is contained in:
Sachin Kamat 2013-09-20 14:30:40 +05:30 • committed by Samuel Ortiz
commit 4b7449cdf4

View file

@ -559,8 +559,6 @@ static int nfcwilink_remove(struct platform_device *pdev)
nci_unregister_device(ndev);
nci_free_device(ndev);
dev_set_drvdata(&pdev->dev, NULL);
return 0;
}