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/score/src/watchdogremove.c | |
parent | sptests/sptasknopreempt01: New test (diff) | |
download | rtems-258d580c42a0bc89c2028fb1ff6a4a97792bdcaa.tar.bz2 |
score: Delete unused state WATCHDOG_REMOVE_IT
Diffstat (limited to 'cpukit/score/src/watchdogremove.c')
-rw-r--r-- | cpukit/score/src/watchdogremove.c | 6 |
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; } |