Revert "serial: set the errno if and only if in thread context"
This reverts commit 07bd09fc. The validation of the context is done with in `rt_set_errno`. So it's safe to call it here.
Showing
想要评论请 注册 或 登录
This reverts commit 07bd09fc. The validation of the context is done with in `rt_set_errno`. So it's safe to call it here.