Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a3663801 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

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
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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