[PATCH 1/1] boot: remove dead code in bootflow_check()
Tom Rini
trini at konsulko.com
Fri Jan 19 17:08:27 CET 2024
On Sun, Jan 07, 2024 at 09:43:40AM +0100, Heinrich Schuchardt wrote:
> 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 at canonical.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240119/1fd5be97/attachment-0001.sig>
More information about the U-Boot
mailing list