ide: remove dead code from drive_is_ready()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 2 Dec 2008 19:40:04 +0000 (20:40 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 2 Dec 2008 19:40:04 +0000 (20:40 +0100)
We guarantee 400ns delay at the time of issuing the command.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-iops.c

index 6f57de85dcd9eebb09f7d6d686f00981ae0b441e..c41c3b9b6f022b89148792c05d9564021ff271da 100644 (file)
@@ -457,11 +457,6 @@ int drive_is_ready (ide_drive_t *drive)
        if (drive->waiting_for_dma)
                return hwif->dma_ops->dma_test_irq(drive);
 
-#if 0
-       /* need to guarantee 400ns since last command was issued */
-       udelay(1);
-#endif
-
        /*
         * We do a passive status test under shared PCI interrupts on
         * cards that truly share the ATA side interrupt, but may also share