summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/rbtreeinsert.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-27 14:37:07 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-09-27 14:56:47 +0200
commite2fe881a87331e7e20dab95126a8860e42cdddf0 (patch)
treee792e1a31bc4e55a51606ab3526d191badb37da3 /cpukit/score/src/rbtreeinsert.c
parentposix: Remove superfluous includes (diff)
downloadrtems-e2fe881a87331e7e20dab95126a8860e42cdddf0.tar.bz2
score: Simplify red-black tree debug support
Make the RBTree_Node layout independent of RTEMS_DEBUG (and all other build configuration options). This allows the use of this structure in Newlib. Update #3112.
Diffstat (limited to 'cpukit/score/src/rbtreeinsert.c')
-rw-r--r--cpukit/score/src/rbtreeinsert.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpukit/score/src/rbtreeinsert.c b/cpukit/score/src/rbtreeinsert.c
index 99dc2a233f..c8bbef9aad 100644
--- a/cpukit/score/src/rbtreeinsert.c
+++ b/cpukit/score/src/rbtreeinsert.c
@@ -19,9 +19,5 @@ void _RBTree_Insert_color(
RBTree_Node *the_node
)
{
-#if defined(RTEMS_DEBUG)
- _Assert( the_node->tree == NULL );
- the_node->tree = the_rbtree;
-#endif
RBTree_Control_RB_INSERT_COLOR( the_rbtree, the_node );
}