summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/alarm.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-13 14:49:23 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-06-13 14:49:23 +0200
commit258d580c42a0bc89c2028fb1ff6a4a97792bdcaa (patch)
treee8ef515f92f2e62898df5e5dd99d139e06cb543d /cpukit/posix/src/alarm.c
parentsptests/sptasknopreempt01: New test (diff)
downloadrtems-258d580c42a0bc89c2028fb1ff6a4a97792bdcaa.tar.bz2
score: Delete unused state WATCHDOG_REMOVE_IT
Diffstat (limited to 'cpukit/posix/src/alarm.c')
-rw-r--r--cpukit/posix/src/alarm.c2
1 files changed, 1 insertions, 1 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