diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-06 17:54:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-06 17:54:12 +0000 |
commit | af8d2e36166b5c13f795c361752c6c6988947d11 (patch) | |
tree | 3afdb112dc95c252fa1b58c812b2173cc86581c4 /os/kernel | |
parent | 1f2dd43b3ebca18d849527e1be6f93d473298677 (diff) | |
download | ChibiOS-af8d2e36166b5c13f795c361752c6c6988947d11.tar.gz ChibiOS-af8d2e36166b5c13f795c361752c6c6988947d11.tar.bz2 ChibiOS-af8d2e36166b5c13f795c361752c6c6988947d11.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1156 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel')
-rw-r--r-- | os/kernel/src/chschd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/os/kernel/src/chschd.c b/os/kernel/src/chschd.c index 093a1a0c0..1f7e27c93 100644 --- a/os/kernel/src/chschd.c +++ b/os/kernel/src/chschd.c @@ -179,13 +179,6 @@ void chSchWakeupS(Thread *ntp, msg_t msg) { #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); chSysSwitchI(otp, ntp); |