Skip to content

Commit

Permalink
ide: remove dead code from drive_is_ready()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Dec 2, 2008
1 parent 6b7d8fc commit a366380
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/ide/ide-iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a366380

Please sign in to comment.