From 3f73f3d0b4faa50ff5cf02c2c7dbb113722fe9d7 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 18 May 2024 11:20:14 +0100 Subject: vendor.sh: remove redundant check we literally do this check twice, in immediate succession. avoid wasted i/o Signed-off-by: Leah Rowe --- include/vendor.sh | 4 ---- 1 file changed, 4 deletions(-) (limited to 'include') 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 -- cgit v1.2.1