summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems
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/score/include/rtems
parentsptests/sptasknopreempt01: New test (diff)
downloadrtems-258d580c42a0bc89c2028fb1ff6a4a97792bdcaa.tar.bz2
score: Delete unused state WATCHDOG_REMOVE_IT
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/watchdog.h6
-rw-r--r--cpukit/score/include/rtems/score/watchdogimpl.h14
2 files changed, 1 insertions, 19 deletions
diff --git a/cpukit/score/include/rtems/score/watchdog.h b/cpukit/score/include/rtems/score/watchdog.h
index ff6c8233a7..bad7269051 100644
--- a/cpukit/score/include/rtems/score/watchdog.h
+++ b/cpukit/score/include/rtems/score/watchdog.h
@@ -86,11 +86,7 @@ typedef enum {
*/
WATCHDOG_BEING_INSERTED,
/** This is the state when the watchdog is on a chain, and allowed to fire. */
- WATCHDOG_ACTIVE,
- /** This is the state when the watchdog is on a chain, but we should
- * remove without firing if it expires.
- */
- WATCHDOG_REMOVE_IT
+ WATCHDOG_ACTIVE
} Watchdog_States;
/**
diff --git a/cpukit/score/include/rtems/score/watchdogimpl.h b/cpukit/score/include/rtems/score/watchdogimpl.h
index 8405232a87..ad6ab5bcb9 100644
--- a/cpukit/score/include/rtems/score/watchdogimpl.h
+++ b/cpukit/score/include/rtems/score/watchdogimpl.h
@@ -317,20 +317,6 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Activate(
}
/**
- * This routine deactivates THE_WATCHDOG timer which will remain
- * on a watchdog chain.
- */
-
-RTEMS_INLINE_ROUTINE void _Watchdog_Deactivate(
- Watchdog_Control *the_watchdog
-)
-{
-
- the_watchdog->state = WATCHDOG_REMOVE_IT;
-
-}
-
-/**
* This routine is invoked at each clock tick to update the ticks
* watchdog chain.
*/