svn commit: r215240 - head/sys/kern
Edward Tomasz Napierala
trasz at FreeBSD.org
Sat Nov 13 11:54:05 UTC 2010
Author: trasz
Date: Sat Nov 13 11:54:04 2010
New Revision: 215240
URL: http://svn.freebsd.org/changeset/base/215240
Log:
Remove unused variables.
Modified:
head/sys/kern/sched_ule.c
Modified: head/sys/kern/sched_ule.c
==============================================================================
--- head/sys/kern/sched_ule.c Sat Nov 13 11:43:20 2010 (r215239)
+++ head/sys/kern/sched_ule.c Sat Nov 13 11:54:04 2010 (r215240)
@@ -1675,23 +1675,19 @@ sched_prio(struct thread *td, u_char pri
void
sched_user_prio(struct thread *td, u_char prio)
{
- u_char oldprio;
td->td_base_user_pri = prio;
if (td->td_flags & TDF_UBORROWING && td->td_user_pri <= prio)
return;
- oldprio = td->td_user_pri;
td->td_user_pri = prio;
}
void
sched_lend_user_prio(struct thread *td, u_char prio)
{
- u_char oldprio;
THREAD_LOCK_ASSERT(td, MA_OWNED);
td->td_flags |= TDF_UBORROWING;
- oldprio = td->td_user_pri;
td->td_user_pri = prio;
}
More information about the svn-src-head
mailing list