svn commit: r267495 - stable/10/sys/kern
Konstantin Belousov
kib at FreeBSD.org
Sun Jun 15 05:17:41 UTC 2014
Author: kib
Date: Sun Jun 15 05:17:40 2014
New Revision: 267495
URL: http://svnweb.freebsd.org/changeset/base/267495
Log:
MFC r267227:
Remove write-only local variable.
Modified:
stable/10/sys/kern/sched_ule.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/kern/sched_ule.c
==============================================================================
--- stable/10/sys/kern/sched_ule.c Sun Jun 15 05:15:38 2014 (r267494)
+++ stable/10/sys/kern/sched_ule.c Sun Jun 15 05:17:40 2014 (r267495)
@@ -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));
More information about the svn-src-stable-10
mailing list