forked from Imagelibrary/rtems
score: Delete _Objects_Put_for_get_isr_disable()
This function is superfluous due to the introduction of fine grained locking.
This commit is contained in:
@@ -44,7 +44,6 @@ rtems_status_code rtems_event_send(
|
||||
THREAD_WAIT_CLASS_EVENT,
|
||||
&lock_context
|
||||
);
|
||||
_Objects_Put_for_get_isr_disable( &thread->Object );
|
||||
sc = RTEMS_SUCCESSFUL;
|
||||
break;
|
||||
#ifdef RTEMS_MULTIPROCESSING
|
||||
|
||||
@@ -50,7 +50,6 @@ rtems_status_code rtems_event_system_send(
|
||||
THREAD_WAIT_CLASS_SYSTEM_EVENT,
|
||||
&lock_context
|
||||
);
|
||||
_Objects_Put_for_get_isr_disable( &thread->Object );
|
||||
sc = RTEMS_SUCCESSFUL;
|
||||
break;
|
||||
#ifdef RTEMS_MULTIPROCESSING
|
||||
|
||||
@@ -990,16 +990,6 @@ RTEMS_INLINE_ROUTINE void _Objects_Put_without_thread_dispatch(
|
||||
_Thread_Unnest_dispatch();
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Puts back an object obtained with _Objects_Get_isr_disable().
|
||||
*/
|
||||
RTEMS_INLINE_ROUTINE void _Objects_Put_for_get_isr_disable(
|
||||
Objects_Control *the_object
|
||||
)
|
||||
{
|
||||
(void) the_object;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Locks the object allocator mutex.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user