score: Remove assert

With the introduction of fine grained locking there is no longer a
one-to-one connection between the Giant lock nest level and the thread
dispatch disable level.
This commit is contained in:
Sebastian Huber
2015-06-02 14:01:29 +02:00
parent f9a2d36455
commit 863dcf458b

View File

@@ -112,12 +112,6 @@ uint32_t _Thread_Dispatch_decrement_disable_level( void )
cpu_self->thread_dispatch_disable_level = disable_level;
_Giant_Do_release( cpu_self );
_Assert(
( disable_level == cpu_self->isr_nest_level
&& _Giant.owner_cpu != cpu_self )
|| ( disable_level > cpu_self->isr_nest_level
&& _Giant.owner_cpu == cpu_self )
);
_Profiling_Thread_dispatch_enable( cpu_self, disable_level );
_ISR_Enable_without_giant( isr_level );