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
parent
32923f5608
commit
3f73f3d0b4
|
@ -46,10 +46,6 @@ vendor_download()
|
||||||
|
|
||||||
detect_firmware()
|
detect_firmware()
|
||||||
{
|
{
|
||||||
_cfg_exists="y"
|
|
||||||
check_defconfig "$boarddir" && _cfg_exists="n"
|
|
||||||
[ "${_cfg_exists}" = "n" ] && return 1
|
|
||||||
|
|
||||||
set -- "${boarddir}/config/"*
|
set -- "${boarddir}/config/"*
|
||||||
. "${1}" 2>/dev/null
|
. "${1}" 2>/dev/null
|
||||||
. "${boarddir}/target.cfg" 2>/dev/null
|
. "${boarddir}/target.cfg" 2>/dev/null
|
||||||
|
|
Loading…
Reference in New Issue