[cpu] remove assert for recursion for #8475

Signed-off-by: Shell <smokewood@qq.com>
This commit is contained in:
Shell 2024-01-11 18:39:38 +08:00 committed by Meco Man
parent dfd4ae5464
commit 8da86e718f
1 changed files with 0 additions and 1 deletions

View File

@ -136,7 +136,6 @@ RTM_EXPORT(rt_spin_unlock_irqrestore)
*/
struct rt_cpu *rt_cpu_self(void)
{
RT_ASSERT(!rt_scheduler_is_available());
return &_cpus[rt_hw_cpu_id()];
}