From d25f8710d2085fb05a348634fe44ef7c6f68a01e Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 23 Mar 2017 11:37:12 -1000 Subject: [PATCH] stm32f40xxx_i2c:Duplicate non CS dev of regval --- arch/arm/src/stm32/stm32f40xxx_i2c.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/src/stm32/stm32f40xxx_i2c.c b/arch/arm/src/stm32/stm32f40xxx_i2c.c index 3d7d5567f8..8d3a9fa84d 100644 --- a/arch/arm/src/stm32/stm32f40xxx_i2c.c +++ b/arch/arm/src/stm32/stm32f40xxx_i2c.c @@ -2015,7 +2015,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);