[rtems commit] posix: Delete unused functions
Sebastian Huber
sebh at rtems.org
Tue Jul 16 18:07:36 UTC 2013
Module: rtems
Branch: master
Commit: 7a7f0719d903a51c911d0d3b62f3ca322f379f5c
Changeset: http://git.rtems.org/rtems/commit/?id=7a7f0719d903a51c911d0d3b62f3ca322f379f5c
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Tue Jul 16 17:34:51 2013 +0200
posix: Delete unused functions
---
cpukit/posix/include/rtems/posix/semaphore.h | 12 ------------
cpukit/posix/inline/rtems/posix/semaphore.inl | 11 -----------
2 files changed, 0 insertions(+), 23 deletions(-)
diff --git a/cpukit/posix/include/rtems/posix/semaphore.h b/cpukit/posix/include/rtems/posix/semaphore.h
index 3127c3f..92be580 100644
--- a/cpukit/posix/include/rtems/posix/semaphore.h
+++ b/cpukit/posix/include/rtems/posix/semaphore.h
@@ -118,18 +118,6 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
);
/*
- * _POSIX_Semaphore_Is_null
- *
- * DESCRIPTION:
- *
- * This function returns TRUE if the_semaphore is NULL and FALSE otherwise.
- */
-
-RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
- POSIX_Semaphore_Control *the_semaphore
-);
-
-/*
* _POSIX_Semaphore_Create_support
*
* DESCRIPTION:
diff --git a/cpukit/posix/inline/rtems/posix/semaphore.inl b/cpukit/posix/inline/rtems/posix/semaphore.inl
index 8c7d670..49c5e1b 100644
--- a/cpukit/posix/inline/rtems/posix/semaphore.inl
+++ b/cpukit/posix/inline/rtems/posix/semaphore.inl
@@ -69,17 +69,6 @@ RTEMS_INLINE_ROUTINE POSIX_Semaphore_Control *_POSIX_Semaphore_Get (
return (POSIX_Semaphore_Control *)
_Objects_Get( &_POSIX_Semaphore_Information, (Objects_Id)*id, location );
}
-
-/*
- * _POSIX_Semaphore_Is_null
- */
-
-RTEMS_INLINE_ROUTINE bool _POSIX_Semaphore_Is_null (
- POSIX_Semaphore_Control *the_semaphore
-)
-{
- return !the_semaphore;
-}
/**
* @see _POSIX_Name_to_id().
More information about the vc
mailing list