mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-03-03 22:55:24 +08:00
[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 */
|
/* not to suspend */
|
||||||
rt_hw_interrupt_enable(level);
|
rt_hw_interrupt_enable(level);
|
||||||
rt_kprintf("-RT_EINTR\r\n");
|
|
||||||
return -RT_EINTR;
|
return -RT_EINTR;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user