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;