MFC r267227:
Remove write-only local variable.
This commit is contained in:
parent
249e790152
commit
71878da094
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user