diff options
author | Leah Rowe <leah@libreboot.org> | 2025-04-13 15:53:36 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-04-13 15:53:36 +0100 |
commit | 8b4b069e3f6abcdf9582f5a8fd7e14fb44c07ec3 (patch) | |
tree | cc2f68adfd36e8d29a0ee5e3b3cbeadce545e046 /include | |
parent | 166dbb04c9250e44da40faec6ac294966377781e (diff) |
vendor.sh: remove unnecessary xchanged="y"
in these if clauses, what follows afterward is exactly
the same: set xchanged and return.
Therefore, these lines are redundant and they can be
removed.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/vendor.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index eadbfbeb..3204654b 100644 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -626,12 +626,8 @@ inject() $err "failed: inject '$_t' '$_dest' on '$rom'" [ "$nukemode" != "nuke" ] || "$ifdtool" $ifdprefix --nuke $_t \ "$rom" -O "$rom" || $err "$rom: !nuke IFD/$_t" - xchanged="y" - return 0 elif [ "$nukemode" = "nuke" ]; then x_ "$cbfstool" "$rom" remove -n "$cbfsname" - xchanged="y" - return 0 elif [ "$_t" = "stage" ]; then # the only stage we handle is refcode x_ mkdir -p tmp x_ rm -f "tmp/refcode" |