summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index 6f6fa1029a..a88729e52c 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -159,7 +159,6 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread,
/* tick init */
thread->init_tick = tick;
thread->remaining_tick = tick;
- thread->can_yield = RT_FALSE;
/* error and flags */
thread->error = RT_EOK;