From 71878da094025b8fa1ac15c372d62f062b0b2524 Mon Sep 17 00:00:00 2001 From: kib Date: Sun, 15 Jun 2014 05:17:40 +0000 Subject: MFC r267227: Remove write-only local variable. --- sys/kern/sched_ule.c | 2 -- 1 file changed, 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)); -- cgit v1.1