summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/thread.c b/src/thread.c
index b3d91b30d0..7febf32082 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -185,10 +185,6 @@ static rt_err_t _rt_thread_init(struct rt_thread *thread,
0,
RT_TIMER_FLAG_ONE_SHOT);
-#ifdef RT_USING_MODULE
- thread->module_id = RT_NULL;
-#endif
-
/* initialize signal */
#ifdef RT_USING_SIGNALS
thread->sig_mask = 0x00;