From dd8815a0c430a99dbdc581b8ec7a390d71b3628d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 31 Jul 2013 14:52:19 +0200 Subject: score: Delete _TOD_Activate and _TOD_Deactivate --- cpukit/score/include/rtems/score/todimpl.h | 18 ------------------ cpukit/score/src/coretod.c | 1 - cpukit/score/src/coretodset.c | 2 -- 3 files changed, 21 deletions(-) (limited to 'cpukit') 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 @@ -284,24 +284,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(); } -- cgit v1.2.3