summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coretod.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/coretod.c')
-rw-r--r--cpukit/score/src/coretod.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpukit/score/src/coretod.c b/cpukit/score/src/coretod.c
index 142d8782bc..5c9c935483 100644
--- a/cpukit/score/src/coretod.c
+++ b/cpukit/score/src/coretod.c
@@ -51,14 +51,7 @@ void _TOD_Handler_initialization(
/* Seconds since RTEMS Epoch (1988) */
_TOD_Seconds_since_epoch = 0;
- /* Protect ourselves from a divide by zero fault */
- if ( microseconds_per_tick == 0 )
- _TOD_Ticks_per_second = 0;
- else
- _TOD_Ticks_per_second =
- TOD_MICROSECONDS_PER_SECOND / microseconds_per_tick;
-
/* TOD has not been set */
_TOD_Is_set = FALSE;
- _TOD_Activate( _TOD_Ticks_per_second );
+ _TOD_Activate();
}