eqlock: cleanup
parent
c11bed9f41
commit
413ab7785f
|
@ -55,8 +55,7 @@ eqlock(QLock *q)
|
|||
unlock(&q->use);
|
||||
sched();
|
||||
if(up->eql == 0){
|
||||
if(up->notepending)
|
||||
up->notepending = 0;
|
||||
up->notepending = 0;
|
||||
error(Eintr);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue