[stm32 i2c] remove redundant function and fix comment