summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src
diff options
context:
space:
mode:
authorAlexander Krutwig <alexander.krutwig@embedded-brains.de>2015-03-20 08:28:20 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-20 13:46:43 +0100
commitc380316710ad67e695cecd170125248c726731b9 (patch)
tree805ceb7650711a15a874220f0d7d45b2127e5bf2 /cpukit/score/src
parentscore: Delete unused _Timestamp_Divide_by_integer (diff)
downloadrtems-c380316710ad67e695cecd170125248c726731b9.tar.bz2
score: Delete unused _Timestamp_(To|From)_ticks()
Diffstat (limited to 'cpukit/score/src')
-rw-r--r--cpukit/score/src/ts64toticks.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/cpukit/score/src/ts64toticks.c b/cpukit/score/src/ts64toticks.c
deleted file mode 100644
index a9a3c281c9..0000000000
--- a/cpukit/score/src/ts64toticks.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * @file
- *
- * @brief Convert 64-bit Timestamp to Number of Ticks
- * @ingroup SuperCore Timestamp64
- */
-
-/*
- * COPYRIGHT (c) 1989-2008.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.org/license/LICENSE.
- */
-
-#if HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <sys/types.h>
-
-#include <rtems/system.h>
-#include <rtems/config.h>
-#include <rtems/score/timestamp.h>
-
-#if CPU_TIMESTAMP_USE_INT64 == TRUE
-uint32_t _Timestamp64_To_ticks(
- const Timestamp64_Control *time
-)
-{
- uint32_t ticks;
-
- ticks = *time / rtems_configuration_get_nanoseconds_per_tick();
- if ( ticks )
- return ticks;
- return 1;
-}
-#endif