diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-26 12:52:22 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-26 12:52:22 +0200 |
commit | 4cd55724bbc6c125be4669ea4343e93cb7108d3b (patch) | |
tree | 2ce29041728200121c6b9e86c7a19b6df13ce672 /cpukit/rtems | |
parent | rbtree: Update maximum node in LIFO order (diff) | |
download | rtems-4cd55724bbc6c125be4669ea4343e93cb7108d3b.tar.bz2 |
Delete unused *_Is_null() functions
Diffstat (limited to 'cpukit/rtems')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/barrierimpl.h | 11 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/dpmemimpl.h | 12 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/messageimpl.h | 14 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/partimpl.h | 13 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/ratemonimpl.h | 12 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/regionimpl.h | 12 | ||||
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/timerimpl.h | 12 |
7 files changed, 0 insertions, 86 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/barrierimpl.h b/cpukit/rtems/include/rtems/rtems/barrierimpl.h index 628a570e33..963ebd93da 100644 --- a/cpukit/rtems/include/rtems/rtems/barrierimpl.h +++ b/cpukit/rtems/include/rtems/rtems/barrierimpl.h @@ -110,17 +110,6 @@ RTEMS_INLINE_ROUTINE Barrier_Control *_Barrier_Get ( } /** - * @brief _Barrier_Is_null - * - * This function returns TRUE if the_barrier is NULL and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Barrier_Is_null ( - Barrier_Control *the_barrier -) -{ - return ( the_barrier == NULL ); -} -/** * @brief Translate SuperCore Barrier Status Code to RTEMS Status Code * * This function returns a RTEMS status code based on the barrier diff --git a/cpukit/rtems/include/rtems/rtems/dpmemimpl.h b/cpukit/rtems/include/rtems/rtems/dpmemimpl.h index 717cf84de1..9fd2e6c1ed 100644 --- a/cpukit/rtems/include/rtems/rtems/dpmemimpl.h +++ b/cpukit/rtems/include/rtems/rtems/dpmemimpl.h @@ -98,18 +98,6 @@ RTEMS_INLINE_ROUTINE Dual_ported_memory_Control *_Dual_ported_memory_Get ( _Objects_Get( &_Dual_ported_memory_Information, id, location ); } -/** - * @brief Checks if the_port is NULL. - * - * This function returns true if the_port is NULL and false otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Dual_ported_memory_Is_null( - Dual_ported_memory_Control *the_port -) -{ - return ( the_port == NULL ); -} - /**@}*/ #ifdef __cplusplus diff --git a/cpukit/rtems/include/rtems/rtems/messageimpl.h b/cpukit/rtems/include/rtems/rtems/messageimpl.h index 714fb617dc..e2bc88d0db 100644 --- a/cpukit/rtems/include/rtems/rtems/messageimpl.h +++ b/cpukit/rtems/include/rtems/rtems/messageimpl.h @@ -104,20 +104,6 @@ rtems_status_code _Message_queue_Translate_core_message_queue_return_code ( ); /** - * @brief Check whether message queue is null. - * - * This function places the_message at the rear of the outstanding - * messages on the_message_queue. - */ -RTEMS_INLINE_ROUTINE bool _Message_queue_Is_null ( - Message_queue_Control *the_message_queue -) -{ - return ( the_message_queue == NULL ); -} - - -/** * @brief Deallocates a message queue control block into * the inactive chain of free message queue control blocks. * diff --git a/cpukit/rtems/include/rtems/rtems/partimpl.h b/cpukit/rtems/include/rtems/rtems/partimpl.h index 5992829067..0f704d2be6 100644 --- a/cpukit/rtems/include/rtems/rtems/partimpl.h +++ b/cpukit/rtems/include/rtems/rtems/partimpl.h @@ -189,19 +189,6 @@ RTEMS_INLINE_ROUTINE Partition_Control *_Partition_Get ( _Objects_Get( &_Partition_Information, id, location ); } -/** - * @brief Checks if the_partition is NULL. - * - * This function returns TRUE if the_partition is NULL - * and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Partition_Is_null ( - Partition_Control *the_partition -) -{ - return ( the_partition == NULL ); -} - /**@}*/ #ifdef __cplusplus diff --git a/cpukit/rtems/include/rtems/rtems/ratemonimpl.h b/cpukit/rtems/include/rtems/rtems/ratemonimpl.h index 9dcec141c6..1489e57e06 100644 --- a/cpukit/rtems/include/rtems/rtems/ratemonimpl.h +++ b/cpukit/rtems/include/rtems/rtems/ratemonimpl.h @@ -146,18 +146,6 @@ RTEMS_INLINE_ROUTINE bool _Rate_monotonic_Is_expired ( } /** - * @brief Checks if the_period is NULL. - * - * This function returns TRUE if the_period is NULL and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Rate_monotonic_Is_null ( - Rate_monotonic_Control *the_period -) -{ - return (the_period == NULL); -} - -/** * @brief Rate Monotonic Timeout * * This routine is invoked when the period represented diff --git a/cpukit/rtems/include/rtems/rtems/regionimpl.h b/cpukit/rtems/include/rtems/rtems/regionimpl.h index 8dbfbd6056..9ff7b966ca 100644 --- a/cpukit/rtems/include/rtems/rtems/regionimpl.h +++ b/cpukit/rtems/include/rtems/rtems/regionimpl.h @@ -134,18 +134,6 @@ RTEMS_INLINE_ROUTINE bool _Region_Free_segment ( } /** - * @brief Region_Is_null - * - * This function returns TRUE if the_region is NULL and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Region_Is_null ( - Region_Control *the_region -) -{ - return ( the_region == NULL ); -} - -/** * @brief Process Region Queue * * This is a helper routine which is invoked any time memory is diff --git a/cpukit/rtems/include/rtems/rtems/timerimpl.h b/cpukit/rtems/include/rtems/rtems/timerimpl.h index 4a4defe47d..667a86a686 100644 --- a/cpukit/rtems/include/rtems/rtems/timerimpl.h +++ b/cpukit/rtems/include/rtems/rtems/timerimpl.h @@ -219,18 +219,6 @@ RTEMS_INLINE_ROUTINE bool _Timer_Is_dormant_class ( return ( the_class == TIMER_DORMANT ); } -/** - * @brief Timer_Is_null - * - * This function returns TRUE if the_timer is NULL and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Timer_Is_null ( - Timer_Control *the_timer -) -{ - return ( the_timer == NULL ); -} - /**@}*/ #ifdef __cplusplus |