From e0a25fb6372ea4aa23a8221d856d8319b53636d9 Mon Sep 17 00:00:00 2001 From: Alexander Krutwig Date: Thu, 19 Mar 2015 13:52:22 +0100 Subject: score: Delete unused _Timestamp_Is_valid() --- cpukit/score/include/rtems/score/timestamp.h | 18 ------------------ cpukit/score/include/rtems/score/timestamp64.h | 13 ------------- 2 files changed, 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 @@ -108,24 +108,6 @@ extern "C" { _Timestamp64_Set_to_zero( _time ) #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. * 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 -- cgit v1.2.3