diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 13:51:53 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-29 13:51:53 +0000 |
commit | 28352faecf8b000b71f734cd728f38aa212b9669 (patch) | |
tree | c8e773b36bf32ba725cc1548e515f2fa9f8ebe96 /cpukit/score/src/watchdogadjusttochain.c | |
parent | Whitespace removal. (diff) | |
download | rtems-28352faecf8b000b71f734cd728f38aa212b9669.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'cpukit/score/src/watchdogadjusttochain.c')
-rw-r--r-- | cpukit/score/src/watchdogadjusttochain.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/src/watchdogadjusttochain.c b/cpukit/score/src/watchdogadjusttochain.c index 0578276429..569a9364f7 100644 --- a/cpukit/score/src/watchdogadjusttochain.c +++ b/cpukit/score/src/watchdogadjusttochain.c @@ -31,12 +31,12 @@ void _Watchdog_Adjust_to_chain( { Watchdog_Interval units = units_arg; ISR_Level level; - Watchdog_Control *first; - + Watchdog_Control *first; + if ( units <= 0 ) { return; } - + _ISR_Disable( level ); while ( 1 ) { @@ -69,7 +69,7 @@ void _Watchdog_Adjust_to_chain( _Chain_Append_unprotected( to_fire, &first->Node ); _ISR_Flash( level ); - + if ( _Chain_Is_empty( header ) ) break; first = _Watchdog_First( header ); |