ide: remove dead code from drive_is_ready()

We guarantee 400ns delay at the time of issuing the command.
Acked-by: default avatarSergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 6b7d8fc3
...@@ -457,11 +457,6 @@ int drive_is_ready (ide_drive_t *drive) ...@@ -457,11 +457,6 @@ int drive_is_ready (ide_drive_t *drive)
if (drive->waiting_for_dma) if (drive->waiting_for_dma)
return hwif->dma_ops->dma_test_irq(drive); 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 * We do a passive status test under shared PCI interrupts on
* cards that truly share the ATA side interrupt, but may also share * cards that truly share the ATA side interrupt, but may also share
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment