MFC r267227:

Remove write-only local variable.
This commit is contained in:
kib 2014-06-15 05:17:40 +00:00
parent 249e790152
commit 71878da094

View File

@ -2691,7 +2691,6 @@ sched_throw(struct thread *td)
void
sched_fork_exit(struct thread *td)
{
struct td_sched *ts;
struct tdq *tdq;
int cpuid;
@ -2701,7 +2700,6 @@ sched_fork_exit(struct thread *td)
*/
cpuid = PCPU_GET(cpuid);
tdq = TDQ_CPU(cpuid);
ts = td->td_sched;
if (TD_IS_IDLETHREAD(td))
td->td_lock = TDQ_LOCKPTR(tdq);
MPASS(td->td_lock == TDQ_LOCKPTR(tdq));