summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-26 12:52:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-26 12:52:22 +0200
commit4cd55724bbc6c125be4669ea4343e93cb7108d3b (patch)
tree2ce29041728200121c6b9e86c7a19b6df13ce672 /cpukit/posix
parentrbtree: Update maximum node in LIFO order (diff)
downloadrtems-4cd55724bbc6c125be4669ea4343e93cb7108d3b.tar.bz2
Delete unused *_Is_null() functions
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/barrierimpl.h19
-rw-r--r--cpukit/posix/include/rtems/posix/condimpl.h14
-rw-r--r--cpukit/posix/include/rtems/posix/mqueueimpl.h13
-rw-r--r--cpukit/posix/include/rtems/posix/muteximpl.h15
-rw-r--r--cpukit/posix/include/rtems/posix/pthreadimpl.h16
-rw-r--r--cpukit/posix/include/rtems/posix/rwlockimpl.h19
-rw-r--r--cpukit/posix/include/rtems/posix/spinlockimpl.h19
-rw-r--r--cpukit/posix/include/rtems/posix/timerimpl.h12
8 files changed, 0 insertions, 127 deletions
diff --git a/cpukit/posix/include/rtems/posix/barrierimpl.h b/cpukit/posix/include/rtems/posix/barrierimpl.h
index af220b9b19..240abad45d 100644
--- a/cpukit/posix/include/rtems/posix/barrierimpl.h
+++ b/cpukit/posix/include/rtems/posix/barrierimpl.h
@@ -106,25 +106,6 @@ RTEMS_INLINE_ROUTINE POSIX_Barrier_Control *_POSIX_Barrier_Get (
);
}
-/**
- * @brief Check if a barrier control block is NULL.
- *
- * This function returns @c TRUE if the_barrier is @c NULL and @c FALSE
- * otherwise.
- *
- * @param[in] the_barrier is the pointer to the barrier control block
- * to be checked.
- *
- * @retval TRUE The barrier control block is @c NULL.
- * @retval FALSE The barrier control block is not @c NULL.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Barrier_Is_null (
- POSIX_Barrier_Control *the_barrier
-)
-{
- return ( the_barrier == NULL );
-}
-
#ifdef __cplusplus
}
#endif
diff --git a/cpukit/posix/include/rtems/posix/condimpl.h b/cpukit/posix/include/rtems/posix/condimpl.h
index 66f4f63ba2..435127ee3c 100644
--- a/cpukit/posix/include/rtems/posix/condimpl.h
+++ b/cpukit/posix/include/rtems/posix/condimpl.h
@@ -95,20 +95,6 @@ POSIX_Condition_variables_Control *_POSIX_Condition_variables_Get (
);
/**
- * @brief POSIX Condition Variable Is NULL
- *
- * This function returns TRUE if @a the_condition variable is NULL
- * and FALSE otherwise.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Condition_variables_Is_null (
- POSIX_Condition_variables_Control *the_condition_variable
-)
-{
- return !the_condition_variable;
-}
-
-
-/**
* @brief Implements wake up version of the "signal" operation.
*
* A support routine which implements guts of the broadcast and single task
diff --git a/cpukit/posix/include/rtems/posix/mqueueimpl.h b/cpukit/posix/include/rtems/posix/mqueueimpl.h
index a72a9e8d17..bfc850d990 100644
--- a/cpukit/posix/include/rtems/posix/mqueueimpl.h
+++ b/cpukit/posix/include/rtems/posix/mqueueimpl.h
@@ -168,19 +168,6 @@ RTEMS_INLINE_ROUTINE POSIX_Message_queue_Control *_POSIX_Message_queue_Get (
_Objects_Get( &_POSIX_Message_queue_Information, id, location );
}
-/**
- * @brief POSIX Message Queue Is NULL
- *
- * This function returns TRUE if the_message_queue is NULL and FALSE otherwise.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Message_queue_Is_null (
- POSIX_Message_queue_Control *the_mq
-)
-{
- return !the_mq;
-}
-
-
/*
* @brief POSIX Message Queue Convert Message Priority to Score
*
diff --git a/cpukit/posix/include/rtems/posix/muteximpl.h b/cpukit/posix/include/rtems/posix/muteximpl.h
index 05c80ceee0..e5955a6fdd 100644
--- a/cpukit/posix/include/rtems/posix/muteximpl.h
+++ b/cpukit/posix/include/rtems/posix/muteximpl.h
@@ -150,21 +150,6 @@ POSIX_Mutex_Control *_POSIX_Mutex_Get_interrupt_disable (
Objects_Locations *location,
ISR_Level *level
);
-
-/**
- * @brief POSIX Mutex Is NULL
- *
- * This method is used to determine if a pointer to a POSIX mutex is NULL.
- *
- * @return This method returns TRUE if @a the_mutex is NULL and FALSE
- * otherwise.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Mutex_Is_null (
- POSIX_Mutex_Control *the_mutex
-)
-{
- return !the_mutex;
-}
#ifdef __cplusplus
}
diff --git a/cpukit/posix/include/rtems/posix/pthreadimpl.h b/cpukit/posix/include/rtems/posix/pthreadimpl.h
index af5ddab6ce..bf2d68ec9d 100644
--- a/cpukit/posix/include/rtems/posix/pthreadimpl.h
+++ b/cpukit/posix/include/rtems/posix/pthreadimpl.h
@@ -127,22 +127,6 @@ RTEMS_INLINE_ROUTINE void _POSIX_Threads_Initialize_attributes(
);
/**
- * @brief Check if a POSIX thread control block is NULL.
- *
- * This function returns @c TRUE if the_pthread is @c NULL and @c FALSE
- * otherwise.
- *
- * @param[in] the_pthread is a pointer to the POSIX thread control block
- * to check.
- *
- * @retval TRUE The thread control block is @c NULL.
- * @retval FALSE The thread control block is not @c NULL.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Threads_Is_null(
- Thread_Control *the_pthread
-);
-
-/**
* @brief POSIX threads sporadic budget callout.
*
* This routine handles the sporadic scheduling algorithm.
diff --git a/cpukit/posix/include/rtems/posix/rwlockimpl.h b/cpukit/posix/include/rtems/posix/rwlockimpl.h
index 2d6002ac7f..a62d77638e 100644
--- a/cpukit/posix/include/rtems/posix/rwlockimpl.h
+++ b/cpukit/posix/include/rtems/posix/rwlockimpl.h
@@ -115,25 +115,6 @@ RTEMS_INLINE_ROUTINE POSIX_RWLock_Control *_POSIX_RWLock_Get (
);
}
-/**
- * @brief Check if a RWLock control block is NULL.
- *
- * This function returns @c TRUE if the_RWLock is @c NULL and @c FALSE
- * otherwise.
- *
- * @param[in] the_RWLock is the pointer to the RWLock control block
- * to be checked.
- *
- * @retval TRUE The RWLock control block is @c NULL.
- * @retval FALSE The RWLock control block is not @c NULL.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_RWLock_Is_null (
- POSIX_RWLock_Control *the_RWLock
-)
-{
- return ( the_RWLock == NULL );
-}
-
#ifdef __cplusplus
}
#endif
diff --git a/cpukit/posix/include/rtems/posix/spinlockimpl.h b/cpukit/posix/include/rtems/posix/spinlockimpl.h
index 71a958dab6..8a2f58360d 100644
--- a/cpukit/posix/include/rtems/posix/spinlockimpl.h
+++ b/cpukit/posix/include/rtems/posix/spinlockimpl.h
@@ -106,25 +106,6 @@ RTEMS_INLINE_ROUTINE POSIX_Spinlock_Control *_POSIX_Spinlock_Get (
);
}
-/**
- * @brief Check if a spinlock control block is NULL.
- *
- * This function returns @c TRUE if the_spinlock is @c NULL and @c FALSE
- * otherwise.
- *
- * @param[in] the_spinlock is the pointer to the spinlock control block
- * to be checked.
- *
- * @retval TRUE The spinlock control block is @c NULL.
- * @retval FALSE The spinlock control block is not @c NULL.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Spinlock_Is_null (
- POSIX_Spinlock_Control *the_spinlock
-)
-{
- return ( the_spinlock == NULL );
-}
-
#ifdef __cplusplus
}
#endif
diff --git a/cpukit/posix/include/rtems/posix/timerimpl.h b/cpukit/posix/include/rtems/posix/timerimpl.h
index ff340d1f20..b297d3205a 100644
--- a/cpukit/posix/include/rtems/posix/timerimpl.h
+++ b/cpukit/posix/include/rtems/posix/timerimpl.h
@@ -123,18 +123,6 @@ RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (
_Objects_Get( &_POSIX_Timer_Information, (Objects_Id) id, location );
}
-/**
- * @brief POSIX Timer Is NULL
- *
- * This function returns TRUE if the_timer is NULL and FALSE otherwise.
- */
-RTEMS_INLINE_ROUTINE bool _POSIX_Timer_Is_null (
- POSIX_Timer_Control *the_timer
-)
-{
- return (the_timer == NULL);
-}
-
#ifdef __cplusplus
}
#endif