summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 11:04:04 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-05-20 16:16:58 +0200
commit0cc91daa203b758b0ab5bd63e4c01dd2828cafe3 (patch)
tree7ed180e7d58201688f266715f6558f2a7dab6137
parentposix: Remove dead code and shrink comment (diff)
downloadrtems-0cc91daa203b758b0ab5bd63e4c01dd2828cafe3.tar.bz2
score: Delete unused _Objects_Get_local_object()
-rw-r--r--cpukit/score/include/rtems/score/objectimpl.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/cpukit/score/include/rtems/score/objectimpl.h b/cpukit/score/include/rtems/score/objectimpl.h
index 4049bdcfe0..52b6ab31bc 100644
--- a/cpukit/score/include/rtems/score/objectimpl.h
+++ b/cpukit/score/include/rtems/score/objectimpl.h
@@ -840,33 +840,6 @@ RTEMS_INLINE_ROUTINE bool _Objects_Are_ids_equal(
}
/**
- * This function returns a pointer to the local_table object
- * referenced by the index.
- *
- * @param[in] information points to an Object Information Table
- * @param[in] index is the index of the object the caller wants to access
- *
- * @return This method returns a pointer to a local object or NULL if the
- * index is invalid and RTEMS_DEBUG is enabled.
- */
-RTEMS_INLINE_ROUTINE Objects_Control *_Objects_Get_local_object(
- Objects_Information *information,
- uint16_t index
-)
-{
- /*
- * This routine is ONLY to be called from places in the code
- * where the Id is known to be good. Therefore, this should NOT
- * occur in normal situations.
- */
- #if defined(RTEMS_DEBUG)
- if ( index > information->maximum )
- return NULL;
- #endif
- return information->local_table[ index ];
-}
-
-/**
* This function sets the pointer to the local_table object
* referenced by the index.
*