inject.sh: Remove redundant code in copy_tbfw

We don't use the tbtmp variable anymore, in this function.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-03 07:20:48 +01:00
parent 8de0ed811f
commit bf569d2b4d

View File

@@ -288,9 +288,6 @@ copy_tbfw()
[ -f "$1" ] || return 0
[ -L "$1" ] && return 0
tbtmp="$xbmklocal/tb.bin"
x_ rm -f "$tbtmp"
x_ dd if=/dev/null of="$1" bs=1 seek=$TBFW_size
x_ mv "$1" "$_dest"