From f5cf22d871c04891a79f7e1059f739649b07b528 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 23 Mar 2017 11:36:44 -1000 Subject: [PATCH] stm32_i2c_alt:Duplicate non CS dev of regval --- arch/arm/src/stm32/stm32_i2c_alt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32_i2c_alt.c b/arch/arm/src/stm32/stm32_i2c_alt.c index 9112b08407..ca64656d8c 100644 --- a/arch/arm/src/stm32/stm32_i2c_alt.c +++ b/arch/arm/src/stm32/stm32_i2c_alt.c @@ -1867,7 +1867,6 @@ static int stm32_i2c_isr(struct stm32_i2c_priv_s *priv) #else /* Clear all interrupts */ - uint32_t regval; regval = stm32_i2c_getreg(priv, STM32_I2C_CR2_OFFSET); regval &= ~I2C_CR2_ALLINTS; stm32_i2c_putreg(priv, STM32_I2C_CR2_OFFSET, regval);