summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/rbtreepeek.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/rbtreepeek.c')
-rw-r--r--cpukit/score/src/rbtreepeek.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/cpukit/score/src/rbtreepeek.c b/cpukit/score/src/rbtreepeek.c
deleted file mode 100644
index 13ea33370f..0000000000
--- a/cpukit/score/src/rbtreepeek.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2010 Gedare Bloom.
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- *
- * $Id$
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/system.h>
-#include <rtems/score/address.h>
-#include <rtems/score/rbtree.h>
-#include <rtems/score/isr.h>
-
-/*
- * _RBTree_Get
- *
- * This kernel routine returns a pointer to the min or max node on the tree,
- * without removing that node.
- *
- * Input parameters:
- * the_rbtree - pointer to rbtree header
- * dir - specifies whether to return minimum (0) or maximum (1)
- *
- * Output parameters:
- * return_node - pointer to node in rbtree allocated
- * NULL - if no nodes available
- *
- * INTERRUPT LATENCY:
- * only case
- */
-
-RBTree_Node *_RBTree_Peek(
- const RBTree_Control *the_rbtree,
- RBTree_Direction dir
-)
-{
- ISR_Level level;
- RBTree_Node *return_node;
-
- return_node = NULL;
- _ISR_Disable( level );
- return_node = _RBTree_Peek_unprotected( the_rbtree, dir );
- _ISR_Enable( level );
- return return_node;
-}