[bsp/stm32f40x] code cleanup.