未验证 提交 fa8c4bca 编写于 作者: mysterywolf's avatar mysterywolf 提交者: GitHub

[kernel][thread.c] remove duplicated clear to 0 (#5659)

上级 e484ff59
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册