mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-05-05 20:56:12 +02:00
boot: superfluous assignment in bootflow_menu_new()
ret is assigned a value 0 which is never used but
is immediately overwritten in the next statement.
Addresses-Coverity-ID: 453304 ("Unused value")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
3f9312236a
commit
3a7744ed1e
@ -120,7 +120,6 @@ int bootflow_menu_new(struct expo **expp)
|
||||
|
||||
if (ret < 0)
|
||||
return log_msg_ret("itm", -EINVAL);
|
||||
ret = 0;
|
||||
priv->num_bootflows++;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user