diff options
Diffstat (limited to 'drivers/ata/pata_platform.c')
-rw-r--r-- | drivers/ata/pata_platform.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_platform.c b/drivers/ata/pata_platform.c index 02ea95fcba69..4b82a5435a4e 100644 --- a/drivers/ata/pata_platform.c +++ b/drivers/ata/pata_platform.c | |||
@@ -228,7 +228,6 @@ static int __devexit pata_platform_remove(struct platform_device *pdev) | |||
228 | struct ata_host *host = dev_get_drvdata(dev); | 228 | struct ata_host *host = dev_get_drvdata(dev); |
229 | 229 | ||
230 | ata_host_detach(host); | 230 | ata_host_detach(host); |
231 | dev_set_drvdata(dev, NULL); | ||
232 | 231 | ||
233 | return 0; | 232 | return 0; |
234 | } | 233 | } |