Date: Fri, 2 Jul 2004 03:48:09 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_clock.c Message-ID: <200407020348.i623m90m007403@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407020348.i623m90m007403>