summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/threadresume.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2010-06-18 02:56:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2010-06-18 02:56:26 +0000
commit1ada6163d8ef88384b5f9626cad026ce018935b0 (patch)
treee82adf534d842f79fa670cd744e89099d8383177 /cpukit/score/src/threadresume.c
parent2010-06-18 Chris Johns <chrisj@rtems.org> (diff)
downloadrtems-1ada6163d8ef88384b5f9626cad026ce018935b0.tar.bz2
Remove RTEMS_ITRON_API conditional blocks.
Diffstat (limited to 'cpukit/score/src/threadresume.c')
-rw-r--r--cpukit/score/src/threadresume.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/cpukit/score/src/threadresume.c b/cpukit/score/src/threadresume.c
index cea8849537..fe8b6842de 100644
--- a/cpukit/score/src/threadresume.c
+++ b/cpukit/score/src/threadresume.c
@@ -62,18 +62,6 @@ void _Thread_Resume(
_ISR_Disable( level );
- #if defined(RTEMS_ITRON_API)
- if ( force == true )
- the_thread->suspend_count = 0;
- else
- the_thread->suspend_count--;
-
- if ( the_thread->suspend_count > 0 ) {
- _ISR_Enable( level );
- return;
- }
- #endif
-
current_state = the_thread->current_state;
if ( current_state & STATES_SUSPENDED ) {
current_state =