git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1156 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-09-06 17:54:12 +00:00
parent 1f2dd43b3e
commit af8d2e3616
1 changed files with 0 additions and 7 deletions

View File

@ -178,13 +178,6 @@ void chSchWakeupS(Thread *ntp, msg_t msg) {
chSchReadyI(otp);
#if CH_USE_ROUNDROBIN
rlist.r_preempt = CH_TIME_QUANTUM;
#endif
#if 0
/* Shortcut for when the round robin scheduling is not enabled.*/
otp->p_state = PRREADY;
/* Direct insertion on top of the ready list, no scanning.*/
otp->p_next = rlist.r_queue.p_next->p_next;
otp->p_next->p_prev = rlist.r_queue.p_next = otp;
#endif
(currp = ntp)->p_state = PRCURR;
chDbgTrace(otp, ntp);