diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-16 17:34:37 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-07-16 19:09:26 +0200 |
commit | b71cdd25832414c9820eccba2495b059d2faf4f7 (patch) | |
tree | ec0bc4504ee9d44cc2ac8f6971f25b27d6f26024 | |
parent | bsps: Use rtems_task_self() (diff) | |
download | rtems-b71cdd25832414c9820eccba2495b059d2faf4f7.tar.bz2 |
rtems: Delete unused functions
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/sem.h | 13 | ||||
-rw-r--r-- | cpukit/rtems/inline/rtems/rtems/sem.inl | 12 |
2 files changed, 0 insertions, 25 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/sem.h b/cpukit/rtems/include/rtems/rtems/sem.h index dafd1eac0d..046c0f2de8 100644 --- a/cpukit/rtems/include/rtems/rtems/sem.h +++ b/cpukit/rtems/include/rtems/rtems/sem.h @@ -239,19 +239,6 @@ rtems_status_code rtems_semaphore_flush( ); /** - * @brief _Semaphore_Seize - * - * This routine attempts to receive a unit from the_semaphore. - * If a unit is available or if the RTEMS_NO_WAIT option is enabled in - * option_set, then the routine returns. Otherwise, the calling task - * is blocked until a unit becomes available. - */ -bool _Semaphore_Seize( - Semaphore_Control *the_semaphore, - uint32_t option_set -); - -/** * @brief Semaphore Translate Core Mutex Return Code * * This function returns a RTEMS status code based on the mutex diff --git a/cpukit/rtems/inline/rtems/rtems/sem.inl b/cpukit/rtems/inline/rtems/rtems/sem.inl index 22699e67ba..d1cdbb20e6 100644 --- a/cpukit/rtems/inline/rtems/rtems/sem.inl +++ b/cpukit/rtems/inline/rtems/rtems/sem.inl @@ -92,18 +92,6 @@ RTEMS_INLINE_ROUTINE Semaphore_Control *_Semaphore_Get_interrupt_disable ( _Objects_Get_isr_disable( &_Semaphore_Information, id, location, level ); } -/** - * @brief Checks if the_semaphore is NULL. - * - * This function returns TRUE if the_semaphore is NULL and FALSE otherwise. - */ -RTEMS_INLINE_ROUTINE bool _Semaphore_Is_null ( - Semaphore_Control *the_semaphore -) -{ - return ( the_semaphore == NULL ); -} - /**@}*/ #endif |