diff --git a/arch/arm/src/stm32l4/stm32l4_exti_gpio.c b/arch/arm/src/stm32l4/stm32l4_exti_gpio.c index 4a23c93632..da7eb4e19a 100644 --- a/arch/arm/src/stm32l4/stm32l4_exti_gpio.c +++ b/arch/arm/src/stm32l4/stm32l4_exti_gpio.c @@ -274,7 +274,6 @@ int stm32l4_gpiosetevent(uint32_t pinset, bool risingedge, bool fallingedge, uint32_t exti = STM32L4_EXTI1_BIT(pin); int irq; xcpt_t handler; - xcpt_t oldhandler = NULL; int nshared; int i;