]> git.ipfire.org Git - thirdparty/u-boot.git/commit
boot: remove dead code in bootflow_check()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 7 Jan 2024 08:43:40 +0000 (09:43 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 18 Jan 2024 22:50:27 +0000 (17:50 -0500)
commit3f9312236a427db3bc11770ced4ed3c2b67d3c45
tree23e3828db12565f88db6cb020e95a5801e7c0d84
parentf055d6e8f0d63a80d72ab5b092a26bedc652ac3b
boot: remove dead code in bootflow_check()

The 'return 0;' statement is not reachable. Remove it.
'else' is superfluous after an if statement with return.

Addresses-Coverity-ID: 352451 ("Logically dead code")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
boot/bootflow.c