diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index d791b1ffb586..96126b3b12e9 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -177,10 +177,6 @@ static void init_hwif_default(ide_hwif_t *hwif, unsigned int index) | |||
177 | memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports)); | 177 | memcpy(hwif->io_ports, hw.io_ports, sizeof(hw.io_ports)); |
178 | 178 | ||
179 | hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; | 179 | hwif->noprobe = !hwif->io_ports[IDE_DATA_OFFSET]; |
180 | #ifdef CONFIG_BLK_DEV_HD | ||
181 | if (hwif->io_ports[IDE_DATA_OFFSET] == HD_DATA) | ||
182 | hwif->noprobe = 1; /* may be overridden by ide_setup() */ | ||
183 | #endif | ||
184 | } | 180 | } |
185 | 181 | ||
186 | /* | 182 | /* |