From: Petr Kulhavy Date: Tue, 14 Jun 2016 10:06:36 +0000 (+0200) Subject: SPL: ext: remove redundant ifdef statement X-Git-Tag: v2016.07-rc2~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=58c95d5356f4a4c711523dbca0e989cfc8d2cf21;p=u-boot SPL: ext: remove redundant ifdef statement Remove redundant #if defined(CONFIG_SPL_OS_BOOT) statement around getenv() calls in spl_load_image_ext_os(). The whole function is surrounded by #ifdef CONFIG_SPL_OS_BOOT. No functional change. Signed-off-by: Petr Kulhavy CC: Guillaume GARDET Acked-by: Guillaume GARDET --- diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c index ade5496600..89ac4f4297 100644 --- a/common/spl/spl_ext.c +++ b/common/spl/spl_ext.c @@ -88,8 +88,7 @@ int spl_load_image_ext_os(struct blk_desc *block_dev, int partition) #endif return -1; } - -#if defined(CONFIG_SPL_ENV_SUPPORT) && defined(CONFIG_SPL_OS_BOOT) +#if defined(CONFIG_SPL_ENV_SUPPORT) file = getenv("falcon_args_file"); if (file) { err = ext4fs_open(file, &filelen);