From 7f7253bec22642ead836cb47fbca3caba57042a8 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 6 Sep 2009 09:53:29 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1152 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chschd.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'os/kernel/src') 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 -- cgit v1.2.3