Remove useless thread_{lock,unlock}() in raccd.

This commit is contained in:
Edward Tomasz Napierala 2012-03-10 14:38:49 +00:00
parent 0ba64b2731
commit 0a53cd5742

View File

@ -730,11 +730,8 @@ racctd(void)
timevalsub(&wallclock, &p->p_stats->p_start);
PROC_LOCK(p);
PROC_SLOCK(p);
FOREACH_THREAD_IN_PROC(p, td) {
FOREACH_THREAD_IN_PROC(p, td)
ruxagg(p, td);
thread_lock(td);
thread_unlock(td);
}
runtime = cputick2usec(p->p_rux.rux_runtime);
PROC_SUNLOCK(p);
#ifdef notyet