[src] remove useless codes in kernel
Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
parent
dc407966fa
commit
c25e9be6ad
|
@ -1010,7 +1010,6 @@ rt_err_t rt_thread_suspend_with_flag(rt_thread_t thread, int suspend_flag)
|
|||
{
|
||||
/* not to suspend */
|
||||
rt_hw_interrupt_enable(level);
|
||||
rt_kprintf("-RT_EINTR\r\n");
|
||||
return -RT_EINTR;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue