Hello Anatolij, Anatolij Gustschin wrote: > Fix warnings for both cases: > > definded CONFIG_SYS_NAND_HW_ECC_OOBFIRST: > nand_spl_simple.c: In function 'nand_read_page': > nand_spl_simple.c:156:6: warning: variable 'stat' set but not used > [-Wunused-but-set-variable] > > not definded CONFIG_SYS_NAND_HW_ECC_OOBFIRST: > nand_spl_simple.c: In function 'nand_read_page': > nand_spl_simple.c:196:6: warning: variable 'stat' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin <[email protected]> > Cc: Heiko Schocher <[email protected]> > Cc: Scott Wood <[email protected]> > --- > drivers/mtd/nand/nand_spl_simple.c | 6 ++---- > 1 files changed, 2 insertions(+), 4 deletions(-)
Thanks! Acked-by: Heiko Schocher <[email protected]> bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

