]> git.sur5r.net Git - u-boot/commit
stm32: remove redundant 'else if'
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 18:46:05 +0000 (20:46 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:28 +0000 (15:17 -0400)
commitd1fe19766bc2a4c065b29a5617472c66a2696a67
tree488b376802e4e885f275db55b351da63cb6c405e
parenta22bbfda6edd3cba79496b9d02077d5ae64ff4b0
stm32: remove redundant 'else if'

The if in the else branch is superfluous.
We can use a simple if.

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/mach-stm32/stm32f1/flash.c