[PATCH 08/13] rtems: Remove unused ASR_Information::nest_level
Sebastian Huber
sebastian.huber at embedded-brains.de
Wed Feb 17 19:30:23 UTC 2021
Update #4244.
---
cpukit/include/rtems/rtems/asrdata.h | 2 --
cpukit/rtems/src/signalcatch.c | 2 --
2 files changed, 4 deletions(-)
diff --git a/cpukit/include/rtems/rtems/asrdata.h b/cpukit/include/rtems/rtems/asrdata.h
index caf29a0863..b0cb8f3bbc 100644
--- a/cpukit/include/rtems/rtems/asrdata.h
+++ b/cpukit/include/rtems/rtems/asrdata.h
@@ -46,8 +46,6 @@ typedef struct {
rtems_signal_set signals_posted;
/** This field indicates the signal set that is pending. */
rtems_signal_set signals_pending;
- /** This field indicates if nest level of signals being processed */
- uint32_t nest_level;
} ASR_Information;
/** @} */
diff --git a/cpukit/rtems/src/signalcatch.c b/cpukit/rtems/src/signalcatch.c
index 2fd7c13374..27d7503a31 100644
--- a/cpukit/rtems/src/signalcatch.c
+++ b/cpukit/rtems/src/signalcatch.c
@@ -57,12 +57,10 @@ void _Signal_Action_handler(
_Thread_State_release( executing, lock_context );
- asr->nest_level += 1;
rtems_task_mode( asr->mode_set, RTEMS_ALL_MODE_MASKS, &prev_mode );
(*asr->handler)( signal_set );
- asr->nest_level -= 1;
rtems_task_mode( prev_mode, RTEMS_ALL_MODE_MASKS, &prev_mode );
_Thread_State_acquire( executing, lock_context );
--
2.26.2
More information about the devel
mailing list