diff options
-rw-r--r-- | cpukit/score/src/watchdogadjusttochain.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cpukit/score/src/watchdogadjusttochain.c b/cpukit/score/src/watchdogadjusttochain.c index 569a9364f7..8d6e4656b8 100644 --- a/cpukit/score/src/watchdogadjusttochain.c +++ b/cpukit/score/src/watchdogadjusttochain.c @@ -33,16 +33,9 @@ void _Watchdog_Adjust_to_chain( ISR_Level level; Watchdog_Control *first; - if ( units <= 0 ) { - return; - } - _ISR_Disable( level ); while ( 1 ) { - if ( units <= 0 ) { - break; - } if ( _Chain_Is_empty( header ) ) { break; } |