[kernel] remove switchto_sethook

This commit is contained in:
Bernard Xiong 2021-07-03 18:48:15 +08:00 committed by GitHub
parent 05bb1a50b0
commit 3dfebe337a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -186,7 +186,6 @@ rt_uint16_t rt_critical_level(void);
#ifdef RT_USING_HOOK
void rt_scheduler_sethook(void (*hook)(rt_thread_t from, rt_thread_t to));
void rt_scheduler_switchto_sethook(void (*hook)(struct rt_thread *tid));
#endif
#ifdef RT_USING_SMP