aboutsummaryrefslogtreecommitdiffstats
path: root/src/chlists.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-04-12 09:05:08 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-04-12 09:05:08 +0000
commit9becc21691eccf394858c2f6223d32abd9b772db (patch)
treee4d15f209f90b30e429c5dfbcb129f8ca1ca3716 /src/chlists.c
parentc1c46107187ce608b97c04f4ab459782058ed427 (diff)
downloadChibiOS-9becc21691eccf394858c2f6223d32abd9b772db.tar.gz
ChibiOS-9becc21691eccf394858c2f6223d32abd9b772db.tar.bz2
ChibiOS-9becc21691eccf394858c2f6223d32abd9b772db.zip
Fixed bug 2755230.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@894 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chlists.c')
-rw-r--r--src/chlists.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/chlists.c b/src/chlists.c
index 82be1923d..24ceb4cc1 100644
--- a/src/chlists.c
+++ b/src/chlists.c
@@ -104,34 +104,6 @@ Thread *dequeue(Thread *tp) {
tp->p_next->p_prev = tp->p_prev;
return tp;
}
-
-/**
- * @brief Pushes a Thread on top of a stack list.
- *
- * @param[in] tp the pointer to the thread to be inserted in the list
- * @param[in] tlp the pointer to the threads list header
- * @note This function is @b not an API.
- */
-void list_insert(Thread *tp, ThreadsList *tlp) {
-
- tp->p_next = tlp->p_next;
- tlp->p_next = tp;
-}
-
-/**
- * @brief Pops a Thread from the top of a stack list and returns it.
- *
- * @param[in] tlp the pointer to the threads list header
- * @return The removed thread pointer.
- * @note The list must be non-empty before calling this function.
- * @note This function is @b not an API.
- */
-Thread *list_remove(ThreadsList *tlp) {
-
- Thread *tp = tlp->p_next;
- tlp->p_next = tp->p_next;
- return tp;
-}
#endif /* CH_OPTIMIZE_SPEED */
/** @} */