summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Krutwig <alexander.krutwig@embedded-brains.de>2015-03-19 13:52:22 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-19 16:41:22 +0100
commite0a25fb6372ea4aa23a8221d856d8319b53636d9 (patch)
tree40ef39a4823ef6735892bb383981ec4c49ea4983
parentfaf3ff8f5ecdf9aa00c7bd28474c7fde55db9d33 (diff)
downloadrtems-e0a25fb6372ea4aa23a8221d856d8319b53636d9.tar.bz2
score: Delete unused _Timestamp_Is_valid()
-rw-r--r--cpukit/score/include/rtems/score/timestamp.h18
-rw-r--r--cpukit/score/include/rtems/score/timestamp64.h13
2 files changed, 0 insertions, 31 deletions
diff --git a/cpukit/score/include/rtems/score/timestamp.h b/cpukit/score/include/rtems/score/timestamp.h
index 895afcca43..5c23979224 100644
--- a/cpukit/score/include/rtems/score/timestamp.h
+++ b/cpukit/score/include/rtems/score/timestamp.h
@@ -109,24 +109,6 @@ extern "C" {
#endif
/**
- * @brief Determines the validity of a timestamp.
- *
- * This method determines the validity of a timestamp.
- *
- * @param[in] _time points to the timestamp instance to validate.
- *
- * @retval This method returns true if @a time is valid and
- * false otherwise.
- */
-#if CPU_TIMESTAMP_USE_STRUCT_TIMESPEC == TRUE
- #define _Timestamp_Is_valid( _time ) \
- _Timespec_Is_valid( _time )
-#else
- #define _Timestamp_Is_valid( _time ) \
- _Timestamp64_Is_valid( _time )
-#endif
-
-/**
* @brief Less than operator for timestamps.
*
* This method is the less than operator for timestamps.
diff --git a/cpukit/score/include/rtems/score/timestamp64.h b/cpukit/score/include/rtems/score/timestamp64.h
index 55b7d07643..3d40ca2787 100644
--- a/cpukit/score/include/rtems/score/timestamp64.h
+++ b/cpukit/score/include/rtems/score/timestamp64.h
@@ -106,19 +106,6 @@ static inline void _Timestamp64_implementation_Set_to_zero(
);
#endif
-/**
- * @brief Determines the validity of a 64-bit timestamp.
- *
- * This method determines the validity of a timestamp.
- *
- * @param[in] _time points to the timestamp instance to validate.
- *
- * @retval This method returns true if @a time is valid and
- * false otherwise.
- */
-#define _Timestamp64_Is_valid( _time ) \
- (1)
-
static inline bool _Timestamp64_implementation_Less_than(
const Timestamp64_Control *_lhs,
const Timestamp64_Control *_rhs