]> git.sur5r.net Git - u-boot/commit
cfi_flash: Fix else after break
authorMario Six <mario.six@gdsys.cc>
Fri, 26 Jan 2018 13:43:45 +0000 (14:43 +0100)
committerStefan Roese <sr@denx.de>
Mon, 29 Jan 2018 06:48:58 +0000 (07:48 +0100)
commit9860137fbcbacfb91069194f9635af0ed8288456
treea498e542a2e02557596d42303bf4595d61500ac4
parent9f720216b746f29606955baca9bf7211e35aaa53
cfi_flash: Fix else after break

If in a loop, the if block in a if/else statement ends in a break, the
statements in the else blockcan be extracted, since the break stops the
execution.

Signed-off-by: Mario Six <mario.six@gdsys.cc>
Signed-off-by: Stefan Roese <sr@denx.de>
drivers/mtd/cfi_flash.c