diff options
Diffstat (limited to 'nuttx/arch/arm/src/stm32/stm32_pminitialize.c')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_pminitialize.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_pminitialize.c b/nuttx/arch/arm/src/stm32/stm32_pminitialize.c index f065cdfc8..a1f44a7f4 100644 --- a/nuttx/arch/arm/src/stm32/stm32_pminitialize.c +++ b/nuttx/arch/arm/src/stm32/stm32_pminitialize.c @@ -58,13 +58,6 @@ * Public Data ****************************************************************************/ -/* Before any power state transition is made, the caller should hold this - * semaphore to assure that there are no concurrent, contradictory power - * state activities. - */ - -sem_t g_pmsem; - /**************************************************************************** * Private Functions ****************************************************************************/ @@ -93,12 +86,6 @@ sem_t g_pmsem; void up_pminitialize(void) { - /* Initialize the PM semaphore to assure that no more than one power-related - * action occurs at a time. - */ - - sem_init(&g_pmsem, 0, 1); - /* Then initialize the NuttX power management subsystem proper */ pm_initialize(); |