summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c
index 2a3300bbed..fcbf737091 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -277,10 +277,6 @@ static rt_err_t _thread_init(struct rt_thread *thread,
thread->system_time = 0;
#endif
-#ifdef RT_USING_CPU_USAGE
- thread->duration_tick = 0;
-#endif /* RT_USING_CPU_USAGE */
-
#ifdef RT_USING_PTHREADS
thread->pthread_data = RT_NULL;
#endif /* RT_USING_PTHREADS */