roms: remove unnecessary check

uboot_config is later only used if payload_uboot is set

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-06-16 12:42:57 +01:00 committed by Leah Rowe
parent 6094542663
commit acd5d16961
1 changed files with 1 additions and 2 deletions

View File

@ -132,8 +132,7 @@ configure_target()
[ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \ [ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \
payload_uboot="n" payload_uboot="n"
[ "$payload_uboot" = "y" ] && [ -z "$uboot_config" ] && \ [ -n "$uboot_config" ] || uboot_config="default"
uboot_config="default"
[ "$xbmk_release" = "y" ] && [ "$release" = "n" ] && return 1 [ "$xbmk_release" = "y" ] && [ "$release" = "n" ] && return 1
[ "$board" = "$tree" ] && return 1; return 0 [ "$board" = "$tree" ] && return 1; return 0