Author: kib
Date: Sun Jun 8 10:56:25 2014
New Revision: 267227
URL: http://svnweb.freebsd.org/changeset/base/267227
Log:
Remove write-only local variable.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/kern/sched_ule.c
Modified: head/sys/kern/sched_ule.c
==============================================================================
--- head/sys/kern/sched_ule.c Sun Jun 8 10:55:06 2014 (r267226)
+++ head/sys/kern/sched_ule.c Sun Jun 8 10:56:25 2014 (r267227)
@@ -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));
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"