summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/modesimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-19 09:48:14 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-20 15:18:49 +0100
commit1739bd2439238b9a5150f65a3452c9eb7958a998 (patch)
tree46098a6828686fce1db19a9af75ecea2ca875bbb /cpukit/include/rtems/rtems/modesimpl.h
parentposix: Remove superfluous check (diff)
downloadrtems-1739bd2439238b9a5150f65a3452c9eb7958a998.tar.bz2
rtems: Remove _Modes_Set_interrupt_level()
This call just obfuscated the call to _ISR_Set_level(). Update #4244.
Diffstat (limited to 'cpukit/include/rtems/rtems/modesimpl.h')
-rw-r--r--cpukit/include/rtems/rtems/modesimpl.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/include/rtems/rtems/modesimpl.h b/cpukit/include/rtems/rtems/modesimpl.h
index 5677c7f13d..2b5e00f600 100644
--- a/cpukit/include/rtems/rtems/modesimpl.h
+++ b/cpukit/include/rtems/rtems/modesimpl.h
@@ -19,7 +19,6 @@
#define _RTEMS_RTEMS_MODESIMPL_H
#include <rtems/rtems/modes.h>
-#include <rtems/score/isrlevel.h>
#ifdef __cplusplus
extern "C" {
@@ -86,19 +85,6 @@ RTEMS_INLINE_ROUTINE ISR_Level _Modes_Get_interrupt_level (
return ( mode_set & RTEMS_INTERRUPT_MASK );
}
-/**
- * @brief Sets the current interrupt level to that specified in the mode_set.
- *
- * This routine sets the current interrupt level to that specified
- * in the mode_set.
- */
-RTEMS_INLINE_ROUTINE void _Modes_Set_interrupt_level (
- rtems_mode mode_set
-)
-{
- _ISR_Set_level( _Modes_Get_interrupt_level( mode_set ) );
-}
-
#ifdef __cplusplus
}
#endif