summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-29 18:44:00 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-29 18:44:27 +0100
commit8ea62a16618ae66f062ff263288343b6ac3f8690 (patch)
tree8fcc2d21a6940a6f8ca3a53c980e483979665f24
parent32da4e319bac527b1ef70f392b5c93d9d4d5ceb4 (diff)
remove unused variables in blob scripts
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/blobutil.sh8
-rwxr-xr-xscript/update/blobs/inject2
2 files changed, 3 insertions, 7 deletions
diff --git a/include/blobutil.sh b/include/blobutil.sh
index 405e056d..4cd3beea 100755
--- a/include/blobutil.sh
+++ b/include/blobutil.sh
@@ -26,17 +26,15 @@ setvars="EC_url=\"\""
for x in EC_url_bkup EC_hash DL_hash DL_url DL_url_bkup E6400_VGA_DL_hash \
E6400_VGA_DL_url E6400_VGA_DL_url_bkup E6400_VGA_offset E6400_VGA_romname \
SCH5545EC_DL_url SCH5545EC_DL_url_bkup SCH5545EC_DL_hash MRC_url \
- MRC_url_bkup MRC_hash MRC_board; do
+ MRC_url_bkup MRC_hash MRC_board _me_destination; do
setvars="${setvars}; ${x}=\"\""
done
-for x in sname archive _filetype rom board modifygbe new_mac release \
- releasearchive vendor_rom dl_path; do
+for x in archive rom board modifygbe new_mac release releasearchive dl_path; do
setvars="${setvars}; ${x}=\"\""
done
-for x in _me_destination _gbe_destination _ifd_destination \
- CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN \
+for x in CONFIG_BOARD_DELL_E6400 CONFIG_HAVE_MRC CONFIG_HAVE_ME_BIN \
CONFIG_ME_BIN_PATH CONFIG_KBC1126_FIRMWARE CONFIG_KBC1126_FW1 \
CONFIG_KBC1126_FW1_OFFSET CONFIG_KBC1126_FW2 CONFIG_KBC1126_FW2_OFFSET \
CONFIG_VGA_BIOS_FILE CONFIG_VGA_BIOS_ID CONFIG_GBE_BIN_PATH \
diff --git a/script/update/blobs/inject b/script/update/blobs/inject
index a36815a4..51198c27 100755
--- a/script/update/blobs/inject
+++ b/script/update/blobs/inject
@@ -12,8 +12,6 @@ release_archive="n"
main()
{
- sname="${0}"
-
[ $# -lt 1 ] && err "No options specified."
[ "${1}" = "listboards" ] && \
listitems config/coreboot && exit 0