From 03fae0cf88c46da5063ce0a3695afd1a7a563872 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 11 May 2024 22:48:51 +0100 Subject: mrc.sh: remove redundant function extract_ref() extract_ref() is no longer used Signed-off-by: Leah Rowe --- include/mrc.sh | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'include') 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" -- cgit v1.2.1