]> git.ipfire.org Git - thirdparty/u-boot.git/blobdiff - boot/bootflow_menu.c
boot: superfluous assignment in bootflow_menu_new()
[thirdparty/u-boot.git] / boot / bootflow_menu.c
index 7c1abe5772cd45de6522ed78be9ad61f046e570c..16f9cd8f8ca572c590e555ce7abb657af6530831 100644 (file)
@@ -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++;
        }