diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 9926e12783bb..62f7e1ef10c1 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1332,8 +1332,6 @@ static void hwif_register_devices(ide_hwif_t *hwif) | |||
1332 | if (!drive->present) | 1332 | if (!drive->present) |
1333 | continue; | 1333 | continue; |
1334 | 1334 | ||
1335 | ide_add_generic_settings(drive); | ||
1336 | |||
1337 | snprintf(dev->bus_id, BUS_ID_SIZE, "%u.%u", hwif->index, i); | 1335 | snprintf(dev->bus_id, BUS_ID_SIZE, "%u.%u", hwif->index, i); |
1338 | dev->parent = &hwif->gendev; | 1336 | dev->parent = &hwif->gendev; |
1339 | dev->bus = &ide_bus_type; | 1337 | dev->bus = &ide_bus_type; |