Browse Source

[src] remove useless codes in kernel

Signed-off-by: Shell <smokewood@qq.com>
Shell 2 năm trước cách đây
mục cha
commit
c25e9be6ad
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/thread.c

+ 0 - 1
src/thread.c

@@ -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