svn commit: r244275 - projects/calloutng/sys/kern
Alexander Motin
mav at FreeBSD.org
Sat Dec 15 21:15:43 UTC 2012
Author: mav
Date: Sat Dec 15 21:15:43 2012
New Revision: 244275
URL: http://svnweb.freebsd.org/changeset/base/244275
Log:
Move assignment out of the loop. It should not change the code logic.
Modified:
projects/calloutng/sys/kern/kern_timeout.c
Modified: projects/calloutng/sys/kern/kern_timeout.c
==============================================================================
--- projects/calloutng/sys/kern/kern_timeout.c Sat Dec 15 21:12:13 2012 (r244274)
+++ projects/calloutng/sys/kern/kern_timeout.c Sat Dec 15 21:15:43 2012 (r244275)
@@ -429,9 +429,8 @@ callout_process(struct bintime *now)
firstb &= callwheelmask;
/* Iterate callwheel from firstb to nowb and then up to lastb. */
- exit_allowed = 0;
+ exit_allowed = exit_wanted = 0;
for (;;) {
- exit_wanted = 0;
sc = &cc->cc_callwheel[firstb];
tmp = TAILQ_FIRST(sc);
while (tmp != NULL) {
More information about the svn-src-projects
mailing list