[rtems commit] rtems: Remove unused _Modes_Mask_changed()

Sebastian Huber sebh at rtems.org
Sat Feb 20 14:25:22 UTC 2021


Module:    rtems
Branch:    master
Commit:    600360dadf5bc8c62fc91d4bea55d6e5e8900595
Changeset: http://git.rtems.org/rtems/commit/?id=600360dadf5bc8c62fc91d4bea55d6e5e8900595

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Feb 16 07:47:20 2021 +0100

rtems: Remove unused _Modes_Mask_changed()

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 5a147b1..db98cb4 100644
--- a/cpukit/include/rtems/rtems/modesimpl.h
+++ b/cpukit/include/rtems/rtems/modesimpl.h
@@ -36,20 +36,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.
  *
  *  This function returns TRUE if mode_set indicates that Asynchronous



More information about the vc mailing list