summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/thread.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thread.c b/src/thread.c
index 79f4eb5f07..d0cdc4043a 100755
--- a/src/thread.c
+++ b/src/thread.c
@@ -258,8 +258,6 @@ static rt_err_t _thread_init(struct rt_thread *thread,
thread->module_id = 0;
#endif
- thread->user_data = 0;
-
RT_OBJECT_HOOK_CALL(rt_thread_inited_hook, (thread));
return RT_EOK;