From f03e834eb18ee068ed2a0d74689a2eed89dae0f7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Fri, 3 Nov 2017 15:53:05 -0600 Subject: [PATCH] STM32F102-Minimum: Eliminate a warning. --- configs/stm32f103-minimum/src/stm32_apds9960.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/configs/stm32f103-minimum/src/stm32_apds9960.c b/configs/stm32f103-minimum/src/stm32_apds9960.c index 1174ebf3ab..14045df518 100644 --- a/configs/stm32f103-minimum/src/stm32_apds9960.c +++ b/configs/stm32f103-minimum/src/stm32_apds9960.c @@ -111,8 +111,6 @@ static struct stm32_apds9960config_s g_apds9960config = static int apds9960_irq_attach(FAR struct apds9960_config_s *state, xcpt_t isr, FAR void *arg) { - FAR struct stm32_apds9960config_s *priv = - (FAR struct stm32_apds9960config_s *)state; irqstate_t flags; sninfo("apds9960_irq_attach\n");