diff options
Diffstat (limited to 'drivers/ide/ide-iops.c')
-rw-r--r-- | drivers/ide/ide-iops.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index dfb0ec317fa3..27bb70ddd459 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -27,11 +27,6 @@ | |||
27 | #include <asm/uaccess.h> | 27 | #include <asm/uaccess.h> |
28 | #include <asm/io.h> | 28 | #include <asm/io.h> |
29 | 29 | ||
30 | void SELECT_DRIVE(ide_drive_t *drive) | ||
31 | { | ||
32 | drive->hwif->tp_ops->dev_select(drive); | ||
33 | } | ||
34 | |||
35 | void SELECT_MASK(ide_drive_t *drive, int mask) | 30 | void SELECT_MASK(ide_drive_t *drive, int mask) |
36 | { | 31 | { |
37 | const struct ide_port_ops *port_ops = drive->hwif->port_ops; | 32 | const struct ide_port_ops *port_ops = drive->hwif->port_ops; |
@@ -347,7 +342,7 @@ int ide_config_drive_speed(ide_drive_t *drive, u8 speed) | |||
347 | disable_irq_nosync(hwif->irq); | 342 | disable_irq_nosync(hwif->irq); |
348 | 343 | ||
349 | udelay(1); | 344 | udelay(1); |
350 | SELECT_DRIVE(drive); | 345 | tp_ops->dev_select(drive); |
351 | SELECT_MASK(drive, 1); | 346 | SELECT_MASK(drive, 1); |
352 | udelay(1); | 347 | udelay(1); |
353 | tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); | 348 | tp_ops->write_devctl(hwif, ATA_NIEN | ATA_DEVCTL_OBS); |