diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-06 09:53:29 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-06 09:53:29 +0000 |
commit | 7f7253bec22642ead836cb47fbca3caba57042a8 (patch) | |
tree | ae50ad3d3804447e518c37bef35a5b8701f8a46f | |
parent | 5d2ad7ce56f9efaba58104c60690a0d076236004 (diff) | |
download | ChibiOS-7f7253bec22642ead836cb47fbca3caba57042a8.tar.gz ChibiOS-7f7253bec22642ead836cb47fbca3caba57042a8.tar.bz2 ChibiOS-7f7253bec22642ead836cb47fbca3caba57042a8.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1152 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/kernel/src/chschd.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/os/kernel/src/chschd.c b/os/kernel/src/chschd.c index 929f114e5..7ab32f068 100644 --- a/os/kernel/src/chschd.c +++ b/os/kernel/src/chschd.c @@ -71,22 +71,6 @@ Thread *chSchReadyI(Thread *tp) { return tp; } -#if 0 -INLINE Thread *chSchReadyReverseI(Thread *tp) { - Thread *cp; - - tp->p_state = PRREADY; - cp = (Thread *)&rlist.r_queue; - do { - cp = cp->p_prev; - } while ((cp->p_prio < tp->p_prio) && (cp->p_prio < tp->p_prio)); - /* Insertion on p_next.*/ - tp->p_next = (tp->p_prev = cp)->p_next; - tp->p_next->p_prev = cp->p_next = tp; - return tp; -} -#endif - /** * @brief Puts the current thread to sleep into the specified state. * @details The thread goes into a sleeping state. The @ref thread_states are |