summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/watchdogremove.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/watchdogremove.c')
-rw-r--r--cpukit/score/src/watchdogremove.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/cpukit/score/src/watchdogremove.c b/cpukit/score/src/watchdogremove.c
index 2ac63fe998..03c0c5f0fe 100644
--- a/cpukit/score/src/watchdogremove.c
+++ b/cpukit/score/src/watchdogremove.c
@@ -31,10 +31,7 @@ static void _Watchdog_Remove_it(
const Chain_Node *iterator_tail;
Chain_Node *iterator_node;
- _Assert(
- the_watchdog->state == WATCHDOG_ACTIVE
- || the_watchdog->state == WATCHDOG_REMOVE_IT
- );
+ _Assert( the_watchdog->state == WATCHDOG_ACTIVE );
the_watchdog->state = WATCHDOG_INACTIVE;
the_watchdog->stop_time = _Watchdog_Ticks_since_boot;
@@ -99,7 +96,6 @@ Watchdog_States _Watchdog_Remove(
break;
case WATCHDOG_ACTIVE:
- case WATCHDOG_REMOVE_IT:
_Watchdog_Remove_it( header, the_watchdog );
break;
}