Aucbvax.4073 net.2bsd-bugs utzoo!decvax!ucbvax!dist2 Sun Sep 27 02:16:13 1981 FIXED: wastefulness in slp.c The function dequeue() is unused and should be deleted. diff kernel/sys/sys/slp.c.old kernel/sys/sys/slp.c: 145,168d144 < * Remove the process pointed to by p < * from the queue pointed to by qp. < */ < < dequeue(p, qp) < register struct proc *p; < register struct proc **qp; < { < register struct proc *q; < < if(*qp == p) { < *qp = p->p_link; < return; < } < for(q = *qp; q != NULL; q = q->p_link) { < if(q->p_link == p) { < q->p_link = p->p_link; < return; < } < } < panic("dequeue"); < } < < /* This change should be applied to all tapes made before 9/28/81. Carl