diff options
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | 2024-01-07 10:01:07 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-18 17:50:27 -0500 |
commit | 3a7744ed1e5bd61b0bf83b7e1897184cb1c54f3f (patch) | |
tree | dd8360486b60b018223fc2aab2dab4aa8deb6588 /boot | |
parent | 3f9312236a427db3bc11770ced4ed3c2b67d3c45 (diff) | |
download | u-boot-3a7744ed1e5bd61b0bf83b7e1897184cb1c54f3f.tar.gz u-boot-3a7744ed1e5bd61b0bf83b7e1897184cb1c54f3f.tar.bz2 u-boot-3a7744ed1e5bd61b0bf83b7e1897184cb1c54f3f.zip |
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>
Diffstat (limited to 'boot')
-rw-r--r-- | boot/bootflow_menu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 7c1abe5772..16f9cd8f8c 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -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++; } |