From: Bartlomiej Zolnierkiewicz Date: Tue, 2 Dec 2008 19:40:04 +0000 (+0100) Subject: ide: remove dead code from drive_is_ready() X-Git-Tag: v2.6.28-rc8~75^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a3663801b1bb1b6f6e2be5198cc81bc16f1558fd;p=linux-2.6-omap-h63xx.git ide: remove dead code from drive_is_ready() We guarantee 400ns delay at the time of issuing the command. Acked-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 6f57de85dcd..c41c3b9b6f0 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c @@ -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