summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_synch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 79a6dfa..765f4b0 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -539,7 +539,6 @@ msleep(ident, mtx, priority, wmesg, timo)
if (sig == 0) {
if (thread_suspend_check(1)) {
sig = SIGSTOP;
- rval = ERESTART;
}
}
mtx_lock_spin(&sched_lock);
OpenPOWER on IntegriCloud