diff options
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
-rw-r--r-- | drivers/ata/pata_pcmcia.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c index d10ae3e72245..4ef477c12036 100644 --- a/drivers/ata/pata_pcmcia.c +++ b/drivers/ata/pata_pcmcia.c | |||
@@ -308,7 +308,6 @@ static void pcmcia_remove_one(struct pcmcia_device *pdev) | |||
308 | if (info->ndev) { | 308 | if (info->ndev) { |
309 | struct ata_host *host = dev_get_drvdata(dev); | 309 | struct ata_host *host = dev_get_drvdata(dev); |
310 | ata_host_detach(host); | 310 | ata_host_detach(host); |
311 | dev_set_drvdata(dev, NULL); | ||
312 | } | 311 | } |
313 | info->ndev = 0; | 312 | info->ndev = 0; |
314 | pdev->priv = NULL; | 313 | pdev->priv = NULL; |