summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/coremutex.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-27 14:29:00 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-31 10:14:42 +0200
commitb1ce11614b615065505cee398645e995e4cee39f (patch)
tree65e432f37ad0333a04a466ee05395dd78391f5c0 /cpukit/score/src/coremutex.c
parentscore: Delete CORE_mutex_Control::blocked_count (diff)
downloadrtems-b1ce11614b615065505cee398645e995e4cee39f.tar.bz2
score: Delete CORE_mutex_Control::holder_id
We can use the holder pointer to get the identifier if necessary.
Diffstat (limited to 'cpukit/score/src/coremutex.c')
-rw-r--r--cpukit/score/src/coremutex.c2
1 files changed, 0 insertions, 2 deletions
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(