there is no process supplied, comment is misleading...

diff --git kern/sched_bsd.c kern/sched_bsd.c
index 00a08861b59..0b63276d1ff 100644
--- kern/sched_bsd.c
+++ kern/sched_bsd.c
@@ -318,9 +318,7 @@ yield(void)
 
 /*
  * General preemption call.  Puts the current process back on its run queue
- * and performs an involuntary context switch.  If a process is supplied,
- * we switch to that process.  Otherwise, we use the normal process selection
- * criteria.
+ * and performs an involuntary context switch.
  */
 void
 preempt(void)

Reply via email to