]> git.ipfire.org Git - people/ms/u-boot.git/commit
cmd_nand: drop duplicate NULL ptr check
authorMike Frysinger <vapier@gentoo.org>
Mon, 13 Apr 2009 02:29:20 +0000 (22:29 -0400)
committerWolfgang Denk <wd@denx.de>
Thu, 16 Apr 2009 21:03:44 +0000 (23:03 +0200)
commitdfc99e143fca44a492918ac6cf3f76ee9c2473a9
tree0599cf28f8f8dcdd7f4cfb90b761ae07f75b838a
parent7732cef2eeb4e339cfcd8553fab773af73a20805
cmd_nand: drop duplicate NULL ptr check

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@gentoo.org>
CC: Scott Wood <scottwood@freescale.com>
common/cmd_nand.c