Skip to content

Commit

Permalink
base: u-boot-ostree-scr-fit: drop unneeded variable assigments
Browse files Browse the repository at this point in the history
Drop unneeded variable assigments as they don't make sense (the variable
is assigned to its value).

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
  • Loading branch information
igoropaniuk authored and ricardosalveti committed Sep 2, 2024
1 parent 52eadde commit 14b1840
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ if test "${fiovb.is_secondary_boot}" = "0"; then
else
setenv bootupgrade_available 0;
setenv bootupgrade_primary_updated 0;
setenv bootfirmware_version "${bootfirmware_version}";
setenv fiovb.bootfirmware_version "${bootfirmware_version}";
fi
run saveenv_mmc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ if test "${fiovb.is_secondary_boot}" = "0"; then
fiovb write_pvalue bootfirmware_version "${bootfirmware_version}";
else
setenv bootupgrade_available 0;
setenv bootfirmware_version "${bootfirmware_version}";
setenv fiovb.bootfirmware_version "${bootfirmware_version}";
fi

Expand Down

0 comments on commit 14b1840

Please sign in to comment.