* @brief remove node from list. * @param n the node to remove from the list. */
| 87 | * @param n the node to remove from the list. |
| 88 | */ |
| 89 | rt_inline void rt_list_remove(rt_list_t *n) |
| 90 | { |
| 91 | n->next->prev = n->prev; |
| 92 | n->prev->next = n->next; |
| 93 | |
| 94 | n->next = n->prev = n; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * @brief tests whether a list is empty |
no outgoing calls
no test coverage detected