mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 00:27:19 +08:00
[kernel][thread.c] remove duplicated clear to 0 (#5659)
This commit is contained in:
parent
e484ff5942
commit
fa8c4bcaa2
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user