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>
20240612_branch
Leah Rowe 2024-05-18 11:20:14 +01:00
parent 32923f5608
commit 3f73f3d0b4
1 changed files with 0 additions and 4 deletions

View File

@ -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