summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/score/include/rtems/score/todimpl.h18
-rw-r--r--cpukit/score/src/coretod.c1
-rw-r--r--cpukit/score/src/coretodset.c2
3 files changed, 0 insertions, 21 deletions
diff --git a/cpukit/score/include/rtems/score/todimpl.h b/cpukit/score/include/rtems/score/todimpl.h
index f16390ec12..34db063276 100644
--- a/cpukit/score/include/rtems/score/todimpl.h
+++ b/cpukit/score/include/rtems/score/todimpl.h
@@ -285,24 +285,6 @@ uint32_t TOD_TICKS_PER_SECOND_method(void);
#define TOD_TICKS_PER_SECOND TOD_TICKS_PER_SECOND_method()
/**
- * This routine deactivates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Deactivate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
- * This routine activates updating of the current time of day.
- */
-
-RTEMS_INLINE_ROUTINE void _TOD_Activate( void )
-{
- /* XXX do we need something now that we are using timespec for TOD */
-}
-
-/**
* This routine returns a timeval based upon the internal timespec format TOD.
*/
diff --git a/cpukit/score/src/coretod.c b/cpukit/score/src/coretod.c
index 28df21f598..bcdfa39009 100644
--- a/cpukit/score/src/coretod.c
+++ b/cpukit/score/src/coretod.c
@@ -30,5 +30,4 @@ void _TOD_Handler_initialization(void)
/* TOD has not been set */
_TOD.is_set = false;
- _TOD_Activate();
}
diff --git a/cpukit/score/src/coretodset.c b/cpukit/score/src/coretodset.c
index f2f743ddc8..ff76581bbd 100644
--- a/cpukit/score/src/coretodset.c
+++ b/cpukit/score/src/coretodset.c
@@ -31,7 +31,6 @@ void _TOD_Set_with_timestamp(
Watchdog_Interval seconds_now;
_Thread_Disable_dispatch();
- _TOD_Deactivate();
seconds_now = _TOD_Seconds_since_epoch();
@@ -44,6 +43,5 @@ void _TOD_Set_with_timestamp(
_TOD.seconds_trigger = nanoseconds;
_TOD.is_set = true;
- _TOD_Activate();
_Thread_Enable_dispatch();
}