From a288c757d404da1dff45e7beb30e491d1265e802 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 8 Jun 2014 10:56:25 +0000 Subject: [PATCH] Remove write-only local variable. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 62b058101797..cc737e3b6320 100644 --- a/sys/kern/sched_ule.c +++ b/sys/kern/sched_ule.c @@ -2686,7 +2686,6 @@ sched_throw(struct thread *td) void sched_fork_exit(struct thread *td) { - struct td_sched *ts; struct tdq *tdq; int cpuid; @@ -2696,7 +2695,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));