forked from Imagelibrary/rtems
score: _CORE_semaphore_Seize()
Delete unused parameter.
This commit is contained in:
@@ -49,7 +49,6 @@ int _POSIX_Semaphore_Wait_support(
|
||||
_CORE_semaphore_Seize(
|
||||
&the_semaphore->Semaphore,
|
||||
executing,
|
||||
the_semaphore->Object.id,
|
||||
blocking,
|
||||
timeout,
|
||||
&lock_context
|
||||
|
||||
@@ -89,7 +89,6 @@ rtems_status_code rtems_semaphore_obtain(
|
||||
_CORE_semaphore_Seize(
|
||||
&the_semaphore->Core_control.semaphore,
|
||||
executing,
|
||||
id,
|
||||
wait,
|
||||
timeout,
|
||||
&lock_context
|
||||
|
||||
@@ -256,7 +256,6 @@ RTEMS_INLINE_ROUTINE uint32_t _CORE_semaphore_Get_count(
|
||||
*
|
||||
* @param[in] the_semaphore is the semaphore to obtain
|
||||
* @param[in,out] executing The currently executing thread.
|
||||
* @param[in] id is the Id of the owning API level Semaphore object
|
||||
* @param[in] wait is true if the thread is willing to wait
|
||||
* @param[in] timeout is the maximum number of ticks to block
|
||||
* @param[in] lock_context is a temporary variable used to contain the ISR
|
||||
@@ -267,7 +266,6 @@ RTEMS_INLINE_ROUTINE uint32_t _CORE_semaphore_Get_count(
|
||||
RTEMS_INLINE_ROUTINE void _CORE_semaphore_Seize(
|
||||
CORE_semaphore_Control *the_semaphore,
|
||||
Thread_Control *executing,
|
||||
Objects_Id id,
|
||||
bool wait,
|
||||
Watchdog_Interval timeout,
|
||||
ISR_lock_Context *lock_context
|
||||
|
||||
@@ -336,7 +336,6 @@ void _MPCI_Receive_server(
|
||||
_CORE_semaphore_Seize(
|
||||
&_MPCI_Semaphore,
|
||||
executing,
|
||||
0,
|
||||
true,
|
||||
WATCHDOG_NO_TIMEOUT,
|
||||
&lock_context
|
||||
|
||||
Reference in New Issue
Block a user