diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-13 14:49:23 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-06-13 14:49:23 +0200 |
commit | 258d580c42a0bc89c2028fb1ff6a4a97792bdcaa (patch) | |
tree | e8ef515f92f2e62898df5e5dd99d139e06cb543d /cpukit/posix/src | |
parent | sptests/sptasknopreempt01: New test (diff) | |
download | rtems-258d580c42a0bc89c2028fb1ff6a4a97792bdcaa.tar.bz2 |
score: Delete unused state WATCHDOG_REMOVE_IT
Diffstat (limited to 'cpukit/posix/src')
-rw-r--r-- | cpukit/posix/src/alarm.c | 2 | ||||
-rw-r--r-- | cpukit/posix/src/ualarm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/alarm.c b/cpukit/posix/src/alarm.c index 6f051d7190..7045a9c527 100644 --- a/cpukit/posix/src/alarm.c +++ b/cpukit/posix/src/alarm.c @@ -74,7 +74,7 @@ unsigned int alarm( _Thread_Disable_dispatch(); state = _Watchdog_Remove_seconds( the_timer ); - if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) { + if ( state == WATCHDOG_ACTIVE ) { /* * The stop_time and start_time fields are snapshots of ticks since * boot. Since alarm() is dealing in seconds, we must account for diff --git a/cpukit/posix/src/ualarm.c b/cpukit/posix/src/ualarm.c index 9235ef165c..dc271b44a8 100644 --- a/cpukit/posix/src/ualarm.c +++ b/cpukit/posix/src/ualarm.c @@ -73,7 +73,7 @@ useconds_t ualarm( _Thread_Disable_dispatch(); state = _Watchdog_Remove_ticks( the_timer ); - if ( (state == WATCHDOG_ACTIVE) || (state == WATCHDOG_REMOVE_IT) ) { + if ( state == WATCHDOG_ACTIVE ) { /* * The stop_time and start_time fields are snapshots of ticks since * boot. Since alarm() is dealing in seconds, we must account for |