mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user