diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 60c5db1c59e..914942a766d 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -233,11 +233,6 @@ void ide_unregister(ide_hwif_t *hwif) | |||
233 | if (hwif->dma_base) | 233 | if (hwif->dma_base) |
234 | ide_release_dma_engine(hwif); | 234 | ide_release_dma_engine(hwif); |
235 | 235 | ||
236 | spin_lock_irq(&ide_lock); | ||
237 | /* restore hwif data to pristine status */ | ||
238 | ide_init_port_data(hwif, hwif->index); | ||
239 | spin_unlock_irq(&ide_lock); | ||
240 | |||
241 | mutex_unlock(&ide_cfg_mtx); | 236 | mutex_unlock(&ide_cfg_mtx); |
242 | } | 237 | } |
243 | 238 | ||