cleanups spotted by irix cc

This commit is contained in:
Russ Cox
2005-12-29 23:15:58 +00:00
parent 3c84c725ef
commit 21b830b1ac
8 changed files with 22 additions and 42 deletions

View File

@ -1159,7 +1159,6 @@ long
qbwrite(Queue *q, Block *b)
{
int n, dowakeup;
Proc *p;
n = BLEN(b);
@ -1222,10 +1221,11 @@ qbwrite(Queue *q, Block *b)
/* wakeup anyone consuming at the other end */
if(dowakeup){
p = wakeup(&q->rr);
wakeup(&q->rr);
/* if we just wokeup a higher priority process, let it run */
/*
p = wakeup(&q->rr);
if(p != nil && p->priority > up->priority)
sched();
*/