From 58c95d5356f4a4c711523dbca0e989cfc8d2cf21 Mon Sep 17 00:00:00 2001 From: Petr Kulhavy Date: Tue, 14 Jun 2016 12:06:36 +0200 Subject: 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 --- common/spl/spl_ext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'common') 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); -- cgit v1.2.1