patch-2.3.99-pre1 linux/drivers/cdrom/aztcd.c
Next file: linux/drivers/char/Config.in
Previous file: linux/drivers/block/via82cxxx.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Mon Mar 13 09:43:36 2000
- Orig file:
v2.3.51/linux/drivers/cdrom/aztcd.c
- Orig date:
Wed Feb 16 17:03:51 2000
diff -u --recursive --new-file v2.3.51/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -1726,10 +1726,9 @@
{ printk("aztcd: no AZTECH CD-ROM drive found\n");
return -EIO;
}
- for (count = 0; count < AZT_TIMEOUT; count++);
- { count=count*2; /* delay a bit */
- count=count/2;
- }
+
+ for (count = 0; count < AZT_TIMEOUT; count++);
+
if ((st=getAztStatus())==-1)
{ printk("aztcd: Drive Status Error Status=%x\n",st);
return -EIO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)