stm32_i2c_alt:Duplicate non CS dev of regval

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

View File

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