aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/ide/ide.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index a71591ab0c5..4b130e7102e 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -716,10 +716,8 @@ int ide_register_hw(hw_regs_t *hw, void (*quirkproc)(ide_drive_t *),
found:
if (hwif->present)
ide_unregister(index);
- else if (!hwif->hold) {
+ else if (!hwif->hold)
ide_init_port_data(hwif, index);
- init_hwif_default(hwif, index);
- }
ide_init_port_hw(hwif, hw);
hwif->quirkproc = quirkproc;