diff options
| author | David Lin <[email protected]> | 2021-07-06 17:31:52 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-06 17:31:52 +0800 |
| commit | 3e8de58e513e9134a0c43188ea4e4f80901def8d (patch) | |
| tree | 7a3b19b1387a568dee07763866b4efb75dfeee7f /src/scheduler.c | |
| parent | 6efca1d120aa64b5345e6a0801f23c3fa0e47db4 (diff) | |
| parent | b3fa063a8dc16cd0817fbb5de8729af75fa09b8d (diff) | |
Merge branch 'RT-Thread:master' into master
Diffstat (limited to 'src/scheduler.c')
| -rw-r--r-- | src/scheduler.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/scheduler.c b/src/scheduler.c index eec660a8aa..956d95d7cc 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -47,8 +47,6 @@ struct rt_thread *rt_current_thread = RT_NULL; rt_uint8_t rt_current_priority; #endif /* RT_USING_SMP */ -rt_list_t rt_thread_defunct; - #ifdef RT_USING_HOOK static void (*rt_scheduler_hook)(struct rt_thread *from, struct rt_thread *to); @@ -224,9 +222,6 @@ void rt_system_scheduler_init(void) /* initialize ready table */ rt_memset(rt_thread_ready_table, 0, sizeof(rt_thread_ready_table)); #endif /* RT_THREAD_PRIORITY_MAX > 32 */ - - /* initialize thread defunct */ - rt_list_init(&rt_thread_defunct); } /** |
