From b1ce11614b615065505cee398645e995e4cee39f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 27 Mar 2014 14:29:00 +0100 Subject: score: Delete CORE_mutex_Control::holder_id We can use the holder pointer to get the identifier if necessary. --- cpukit/score/src/coremutex.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'cpukit/score/src/coremutex.c') diff --git a/cpukit/score/src/coremutex.c b/cpukit/score/src/coremutex.c index 4cdc7647d1..1c6c3db302 100644 --- a/cpukit/score/src/coremutex.c +++ b/cpukit/score/src/coremutex.c @@ -42,7 +42,6 @@ CORE_mutex_Status _CORE_mutex_Initialize( if ( initial_lock == CORE_MUTEX_LOCKED ) { the_mutex->nest_count = 1; the_mutex->holder = executing; - the_mutex->holder_id = executing->Object.id; if ( _CORE_mutex_Is_inherit_priority( &the_mutex->Attributes ) || _CORE_mutex_Is_priority_ceiling( &the_mutex->Attributes ) ) { @@ -60,7 +59,6 @@ CORE_mutex_Status _CORE_mutex_Initialize( } else { the_mutex->nest_count = 0; the_mutex->holder = NULL; - the_mutex->holder_id = 0; } _Thread_queue_Initialize( -- cgit v1.2.3