From e23c3ffc03347f4f24d214f0655c26aada721386 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Tue, 20 Apr 2021 09:31:32 -0700 Subject: [PATCH] arch: remove up_irq{save|restore} these come from irq.h --- include/nuttx/arch.h | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h index d8abee47ae..9bf8dd59da 100644 --- a/include/nuttx/arch.h +++ b/include/nuttx/arch.h @@ -1369,39 +1369,6 @@ void up_irqinitialize(void); bool up_interrupt_context(void); -/**************************************************************************** - * Name: up_irq_save - * - * Description: - * Save the current interrupt state and disable interrupts. - * - * Input Parameters: - * None - * - * Returned Value: - * Interrupt state prior to disabling interrupts. - * - ****************************************************************************/ - -irqstate_t up_irq_save(void); - -/**************************************************************************** - * Name: up_irq_restore - * - * Description: - * Restore the previous irq state (i.e., the one previously - * returned by up_irq_save()) - * - * Input Parameters: - * irqstate - The interrupt state to be restored. - * - * Returned Value: - * None - * - ****************************************************************************/ - -void up_irq_restore(irqstate_t irqstate); - /**************************************************************************** * Name: up_enable_irq *