summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/sched_ule.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/sched_ule.c b/sys/kern/sched_ule.c
index 1ca9317..e897310 100644
--- a/sys/kern/sched_ule.c
+++ b/sys/kern/sched_ule.c
@@ -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));
OpenPOWER on IntegriCloud