mrc.sh: remove redundant function extract_ref()

extract_ref() is no longer used

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe 2024-05-11 22:48:51 +01:00
parent f66ceef6f2
commit 03fae0cf88
1 changed files with 0 additions and 12 deletions

View File

@ -6,18 +6,6 @@
eval "$(setvars "" MRC_url MRC_url_bkup MRC_hash MRC_board SHELLBALL)"
extract_ref()
{
# we check mrc twice, because each check only verifies one file,
# but refcode is downloaded alongside mrc. in cases where lbmk
# erred, downloading only mrc, we must ensure downloading refcode
[ -n "$CONFIG_MRC_FILE" ] || \
$err "extract_ref $board: CONFIG_MRC_FILE not defined"
# the extract_mrc function actually downloads the refcode
fetch "mrc" "$MRC_url" "$MRC_url_bkup" "$MRC_hash" "$CONFIG_MRC_FILE"
}
extract_mrc()
{
[ -z "$MRC_board" ] && $err "extract_mrc $MRC_hash: MRC_board not set"