[7321] in Athena Bugs

home help back first fref pref prev next nref lref last post

sys/machineio/vd.c

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Sat Mar 16 01:54:31 1991

To: bugs@ATHENA.MIT.EDU
Date: Sat, 16 Mar 91 01:54:21 EST
From: John Carr <jfc@ATHENA.MIT.EDU>


vd.c contains 2 copies of this line:

	if(vdi->vd_device.state == UNUSED && vdi->vd_device.state == SPUNDOWN)

This could be optimized to

	if (0)

or the "&&" could be changed to "||".  I suggest the latter.


home help back first fref pref prev next nref lref last post