[U-Boot] [PATCH] cmd_nand: drop duplicate NULL ptr check
Wolfgang Denk
wd at denx.de
Thu Apr 16 23:03:56 CEST 2009
Dear Mike Frysinger,
In message <1239589760-19215-1-git-send-email-vapier at gentoo.org> you wrote:
> The first if statement checks for NULL ptrs, so there is no need to check
> it again in later else cases (such as .oob).
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> CC: Scott Wood <scottwood at freescale.com>
> ---
> common/cmd_nand.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If at first you don't succeed, you are running about average.
More information about the U-Boot
mailing list