From c25e9be6adf1e4403fc4bb32381699c461b44d10 Mon Sep 17 00:00:00 2001 From: Shell Date: Fri, 15 Sep 2023 20:04:11 +0800 Subject: [PATCH] [src] remove useless codes in kernel Signed-off-by: Shell --- src/thread.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/thread.c b/src/thread.c index ad8712c899..353f2fcf46 100644 --- a/src/thread.c +++ b/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 */ rt_hw_interrupt_enable(level); - rt_kprintf("-RT_EINTR\r\n"); return -RT_EINTR; } #endif