summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-03 07:20:48 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 12:18:22 +0100
commita2839ba0638d10d21a58be789df4915bf0146c82 (patch)
treef05a95c5af5560257738e72e9fad8ddd982c80d6
parentd865898e5fa36fd37ba57518e43be68168e56d70 (diff)
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>
-rw-r--r--include/inject.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/inject.sh b/include/inject.sh
index c5e41f6d..b0f3f502 100644
--- a/include/inject.sh
+++ b/include/inject.sh
@@ -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"