From fa24398857324d35efdcaa0aca3acf9143de2480 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 18 Jun 2024 11:56:09 +0200 Subject: [PATCH] score: Remove ISR_LOCK_REFERENCE() Update #4957 and #5038. --- cpukit/include/rtems/score/isrlock.h | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/cpukit/include/rtems/score/isrlock.h b/cpukit/include/rtems/score/isrlock.h index 5e74e6b1c9..b78b656e6b 100644 --- a/cpukit/include/rtems/score/isrlock.h +++ b/cpukit/include/rtems/score/isrlock.h @@ -138,21 +138,6 @@ typedef struct { #define ISR_LOCK_DECLARE( _qualifier, _designator ) #endif -/** - * @brief Defines an ISR lock variable reference. - * - * Do not add a ';' after this macro. - * - * @param _designator The designator for the interrupt lock reference. - * @param _target The target for the interrupt lock reference. - */ -#if defined( RTEMS_SMP ) - #define ISR_LOCK_REFERENCE( _designator, _target ) \ - ISR_lock_Control *_designator = _target; -#else - #define ISR_LOCK_REFERENCE( _designator, _target ) -#endif - /** * @brief Initializer for static initialization of ISR locks. *