mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 23:12:22 +08:00
score: Do not shadow lock_context local variable
This commit is contained in:
@@ -42,8 +42,6 @@ void _User_extensions_Remove_set (
|
||||
*/
|
||||
|
||||
if ( the_extension->Callouts.thread_switch != NULL ) {
|
||||
ISR_lock_Context lock_context;
|
||||
|
||||
_Per_CPU_Acquire_all( &lock_context );
|
||||
_Chain_Extract_unprotected( &the_extension->Switch.Node );
|
||||
_Per_CPU_Release_all( &lock_context );
|
||||
|
||||
Reference in New Issue
Block a user