Date: Thu, 23 May 2002 09:58:01 -0700 (PDT) From: Julian Elischer <julian@elischer.org> To: Jonathan Mini <mini@FreeBSD.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 11780 for review Message-ID: <Pine.BSF.4.21.0205230957001.88015-100000@InterJet.elischer.org> In-Reply-To: <200205230506.g4N56Mw18963@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
I'm a great believer in always having the braces.. but, style(9) wins I guess. On Wed, 22 May 2002, Jonathan Mini wrote: > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11780 > > Change 11780 by mini@mini_stylus on 2002/05/22 22:05:58 > > Remove extraneous braces. > > Affected files ... > > ... //depot/projects/kse/sys/kern/kern_condvar.c#34 edit > > Differences ... > > ==== //depot/projects/kse/sys/kern/kern_condvar.c#34 (text+ko) ==== > > @@ -634,11 +634,10 @@ > mtx_lock_spin(&sched_lock); > if ((td->td_flags & (TDF_SINTR|TDF_TIMEOUT)) == TDF_SINTR) { > if (td->td_wchan != NULL) { > - if (td->td_state == TDS_SLP) { > + if (td->td_state == TDS_SLP) > setrunnable(td); > - } else { > + else > cv_waitq_remove(td); > - } > } > } > mtx_unlock_spin(&sched_lock); > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0205230957001.88015-100000>