[PATCH 06/13] rtems: Remove unused _Modes_Mask_changed()

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Feb 17 19:30:21 UTC 2021


Update #4244.
---
 cpukit/include/rtems/rtems/modesimpl.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/cpukit/include/rtems/rtems/modesimpl.h b/cpukit/include/rtems/rtems/modesimpl.h
index 5a147b10b9..db98cb419f 100644
--- a/cpukit/include/rtems/rtems/modesimpl.h
+++ b/cpukit/include/rtems/rtems/modesimpl.h
@@ -35,20 +35,6 @@ extern "C" {
  * @{
  */
 
-/**
- *  @brief Checks if any of the mode flags in mask are set in mode_set.
- *
- *  This function returns TRUE if any of the mode flags in mask
- *  are set in mode_set, and FALSE otherwise.
- */
-RTEMS_INLINE_ROUTINE bool _Modes_Mask_changed (
-  rtems_mode mode_set,
-  rtems_mode masks
-)
-{
-   return ( mode_set & masks ) ? true : false;
-}
-
 /**
  *  @brief Checks if mode_set says that Asynchronous Signal Processing is disabled.
  *
-- 
2.26.2



More information about the devel mailing list