瀏覽代碼

ide: remove dead code from drive_is_ready()

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>
Bartlomiej Zolnierkiewicz 16 年之前
父節點
當前提交
a3663801b1
共有 1 個文件被更改,包括 0 次插入5 次删除
  1. 0 5
      drivers/ide/ide-iops.c

+ 0 - 5
drivers/ide/ide-iops.c

@@ -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