diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-03-11 04:24:53 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-11 17:24:53 +0800 |
| commit | fa8c4bcaa2530f422c0408401f086a0d0f373b40 (patch) | |
| tree | 3318e624ad6a8b3ebc555b6e99007beea8107175 /src/thread.c | |
| parent | e484ff5942ad2da037777fe7047256bff06e9b57 (diff) | |
[kernel][thread.c] remove duplicated clear to 0 (#5659)
Diffstat (limited to 'src/thread.c')
| -rwxr-xr-x | src/thread.c | 2 |
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; |
