public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Guillaume Gardet <guillaume.gardet@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] SPL: ext: remove redundant ifdef statement
Date: Fri, 17 Jun 2016 14:07:09 +0200	[thread overview]
Message-ID: <5763E7ED.20906@free.fr> (raw)
In-Reply-To: <1465898796-22329-1-git-send-email-brain@jikos.cz>



Le 14/06/2016 12:06, Petr Kulhavy a ?crit :
> 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 <brain@jikos.cz>
> CC: Guillaume GARDET <guillaume.gardet@free.fr>

Acked-by:  Guillaume GARDET <guillaume.gardet@free.fr>

> ---
>   common/spl/spl_ext.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/common/spl/spl_ext.c b/common/spl/spl_ext.c
> index 074b31e..9a230d5 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);

  reply	other threads:[~2016-06-17 12:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 10:06 [U-Boot] [PATCH] SPL: ext: remove redundant ifdef statement Petr Kulhavy
2016-06-17 12:07 ` Guillaume Gardet [this message]
2016-06-19 14:12 ` [U-Boot] " Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5763E7ED.20906@free.fr \
    --to=guillaume.gardet@free.fr \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox