summaryrefslogtreecommitdiff
path: root/include/mrc.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-11 22:48:51 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-11 22:48:51 +0100
commit03fae0cf88c46da5063ce0a3695afd1a7a563872 (patch)
treee3951ff198d12d85d366b8a7c6d2f2a1422d65a2 /include/mrc.sh
parentf66ceef6f2692ec7d48bd21ecff41de3909555fd (diff)
mrc.sh: remove redundant function extract_ref()
extract_ref() is no longer used Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/mrc.sh')
-rwxr-xr-xinclude/mrc.sh12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/mrc.sh b/include/mrc.sh
index eb85e473..62d30a70 100755
--- a/include/mrc.sh
+++ b/include/mrc.sh
@@ -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"