diff options
author | Alexander Krutwig <alexander.krutwig@embedded-brains.de> | 2015-03-19 13:52:22 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-03-19 16:41:22 +0100 |
commit | e0a25fb6372ea4aa23a8221d856d8319b53636d9 (patch) | |
tree | 40ef39a4823ef6735892bb383981ec4c49ea4983 | |
parent | score: Fix _Debug_Is_owner_of_allocator() (diff) | |
download | rtems-e0a25fb6372ea4aa23a8221d856d8319b53636d9.tar.bz2 |
score: Delete unused _Timestamp_Is_valid()
-rw-r--r-- | cpukit/score/include/rtems/score/timestamp.h | 18 | ||||
-rw-r--r-- | cpukit/score/include/rtems/score/timestamp64.h | 13 |
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 |