diff options
Diffstat (limited to 'drivers/ide/cris/ide-cris.c')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index 7c90218e9319..4bb42b30bfc0 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c | |||
@@ -724,11 +724,6 @@ static int speed_cris_ide(ide_drive_t *drive, const u8 speed) | |||
724 | { | 724 | { |
725 | int cyc = 0, dvs = 0, strobe = 0, hold = 0; | 725 | int cyc = 0, dvs = 0, strobe = 0, hold = 0; |
726 | 726 | ||
727 | if (speed >= XFER_PIO_0 && speed <= XFER_PIO_4) { | ||
728 | cris_set_pio_mode(drive, speed - XFER_PIO_0); | ||
729 | return ide_config_drive_speed(drive, speed); | ||
730 | } | ||
731 | |||
732 | switch(speed) | 727 | switch(speed) |
733 | { | 728 | { |
734 | case XFER_UDMA_0: | 729 | case XFER_UDMA_0: |