diff options
-rw-r--r-- | c/src/exec/score/src/coresem.c | 1 | ||||
-rw-r--r-- | cpukit/score/src/coresem.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/c/src/exec/score/src/coresem.c b/c/src/exec/score/src/coresem.c index 5fc55b5359..0e55926304 100644 --- a/c/src/exec/score/src/coresem.c +++ b/c/src/exec/score/src/coresem.c @@ -135,7 +135,6 @@ void _CORE_semaphore_Seize( _ISR_Disable( level ); if ( the_semaphore->count != 0 ) { the_semaphore->count -= 1; - executing->resource_count++; _ISR_Enable( level ); return; } diff --git a/cpukit/score/src/coresem.c b/cpukit/score/src/coresem.c index 5fc55b5359..0e55926304 100644 --- a/cpukit/score/src/coresem.c +++ b/cpukit/score/src/coresem.c @@ -135,7 +135,6 @@ void _CORE_semaphore_Seize( _ISR_Disable( level ); if ( the_semaphore->count != 0 ) { the_semaphore->count -= 1; - executing->resource_count++; _ISR_Enable( level ); return; } |