stm32f40xxx_i2c:Duplicate non CS dev of regval

This commit is contained in:
David Sidrane 2017-03-23 11:37:12 -10:00
parent f5cf22d871
commit d25f8710d2
1 changed files with 0 additions and 1 deletions

View File

@ -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);