cvs commit: src/sys/kern kern_clock.c
John Baldwin
jhb at FreeBSD.org
Thu Jul 1 20:49:21 PDT 2004
jhb 2004-07-02 03:48:09 UTC
FreeBSD src repository
Modified files:
sys/kern kern_clock.c
Log:
- Assert that any process that has statclock called on it has both a
stats structure and a vmspace as this should always be true rather
than checking the always true condition in an if statement.
- Remove never-false check: if ((ru = &pstats->p_ru) != NULL)
- Remove pstats variable that is only used once and inline its one use
instead.
Revision Changes Path
1.171 +10 -11 src/sys/kern/kern_clock.c
More information about the cvs-all
mailing list