mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 07:04:28 +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)
|
||||
return log_msg_ret("itm", -EINVAL);
|
||||
ret = 0;
|
||||
priv->num_bootflows++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue