summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-18 11:20:14 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-18 11:20:56 +0100
commit3f73f3d0b4faa50ff5cf02c2c7dbb113722fe9d7 (patch)
treede96ba42a26f9049e6f9cb953282aedb78d9b698
parent32923f56082210b4cdaca5f8bbc4f99cea5343f9 (diff)
vendor.sh: remove redundant check
we literally do this check twice, in immediate succession. avoid wasted i/o Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xinclude/vendor.sh4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index 19228cf1..af441449 100755
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -46,10 +46,6 @@ vendor_download()
detect_firmware()
{
- _cfg_exists="y"
- check_defconfig "$boarddir" && _cfg_exists="n"
- [ "${_cfg_exists}" = "n" ] && return 1
-
set -- "${boarddir}/config/"*
. "${1}" 2>/dev/null
. "${boarddir}/target.cfg" 2>/dev/null