summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline/rtems/score/tod.inl
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/inline/rtems/score/tod.inl')
-rw-r--r--cpukit/score/inline/rtems/score/tod.inl28
1 files changed, 0 insertions, 28 deletions
diff --git a/cpukit/score/inline/rtems/score/tod.inl b/cpukit/score/inline/rtems/score/tod.inl
index 10a370f7f2..fbfd7037de 100644
--- a/cpukit/score/inline/rtems/score/tod.inl
+++ b/cpukit/score/inline/rtems/score/tod.inl
@@ -27,34 +27,6 @@
*/
/**
- *
- * This routines adds two timespecs. The second argument is added
- * to the first.
- */
-
-RTEMS_INLINE_ROUTINE uint32_t _TOD_Add_timespec(
- struct timespec *time,
- struct timespec *add
-)
-{
- uint32_t seconds = 0;
-
-
- /* Add the basics */
- time->tv_sec += add->tv_sec;
- time->tv_nsec += add->tv_nsec;
-
- /* Now adjust it so nanoseconds is in range */
- while ( time->tv_nsec >= TOD_NANOSECONDS_PER_SECOND ) {
- time->tv_nsec -= TOD_NANOSECONDS_PER_SECOND;
- time->tv_sec++;
- seconds++;
- }
-
- return seconds;
-}
-
-/**
* This routine deactivates updating of the current time of day.
*/