summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2020-02-05 10:12:39 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2020-02-05 10:12:39 +0000
commite0a94ff5494d2269a8947eb813b6c85b17d2d41a (patch)
treeb51e6c42b18943db322381df1e1decafafadee6d /sys
parentecfb0c96e53b6c1b6d4584128fa31f9746d7f8f3 (diff)
Remove dead store, from Amit Kulkarni.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_sched.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index ea893c49a47..06185845521 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sched.c,v 1.64 2020/01/30 08:51:27 mpi Exp $ */
+/* $OpenBSD: kern_sched.c,v 1.65 2020/02/05 10:12:38 mpi Exp $ */
/*
* Copyright (c) 2007, 2008 Artur Grabowski <art@openbsd.org>
*
@@ -524,7 +524,6 @@ sched_steal_proc(struct cpu_info *self)
if (best == NULL)
return (NULL);
- spc = &best->p_cpu->ci_schedstate;
remrunqueue(best);
best->p_cpu = self;