mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 13:56:20 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -120,7 +120,6 @@ int bootflow_menu_new(struct expo **expp)
|
||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return log_msg_ret("itm", -EINVAL);
|
return log_msg_ret("itm", -EINVAL);
|
||||||
ret = 0;
|
|
||||||
priv->num_bootflows++;
|
priv->num_bootflows++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue