Am 21.04.20 um 09:28 schrieb Stefan Roese: > With the if statement now for the legacy image handling, the compiler > now generates this compile time warning: > > common/spl/spl_nor.c:27:6: warning: unused variable 'ret' [-Wunused-variable] > > This patch removes this warning by changing the 'ret' variable handling. > > Signed-off-by: Stefan Roese <s...@denx.de> > Cc: Daniel Schwierzeck <daniel.schwierz...@gmail.com> > Cc: Weijie Gao <weijie....@mediatek.com> > Cc: Simon Goldschmidt <simon.k.r.goldschm...@gmail.com> > --- > Changes in v7: > - New patch > > common/spl/spl_nor.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > Reviewed-by: Daniel Schwierzeck <daniel.schwierz...@gmail.com> -- - Daniel
- [PATCH 11/26 v7] dts: mtmips: add alternative pinmux no... Stefan Roese
- [PATCH 14/26 v7] lib: enable lzma decompression support... Stefan Roese
- [PATCH 10/26 v7] mips: mtmips: rewrite lowlevel codes o... Stefan Roese
- [PATCH 18/26 v7] spl: spl_legacy: Use IS_ENABLED() to r... Stefan Roese
- Re: [PATCH 18/26 v7] spl: spl_legacy: Use IS_ENABL... Daniel Schwierzeck
- [PATCH 15/26 v7] Makefile: add support to generate LZMA... Stefan Roese
- [PATCH 16/26 v7] tools: binman: add etype file for u-bo... Stefan Roese
- [PATCH 17/26 v7] spl: Extract legacy image handling int... Stefan Roese
- Re: [PATCH 17/26 v7] spl: Extract legacy image han... Daniel Schwierzeck
- [PATCH 20/26 v7] spl: spl_nor: Remove unused variable '... Stefan Roese
- Re: [PATCH 20/26 v7] spl: spl_nor: Remove unused v... Daniel Schwierzeck
- [PATCH 19/26 v7] spl: spl_nor: Move legacy image loadin... Stefan Roese
- Re: [PATCH 19/26 v7] spl: spl_nor: Move legacy ima... Daniel Schwierzeck
- [PATCH 21/26 v7] spl: spl_legacy: Add lzma decompressio... Stefan Roese
- [PATCH 22/26 v7] mips: spl: Flush cache before jumping ... Stefan Roese
- Re: [PATCH 22/26 v7] mips: spl: Flush cache before... Daniel Schwierzeck
- [PATCH 24/26 v7] mips: mtmips: enable SPL for all board... Stefan Roese
- [PATCH 23/26 v7] mips: mtmips: add SPL support Stefan Roese
- Re: [PATCH 23/26 v7] mips: mtmips: add SPL support Daniel Schwierzeck
- Re: [PATCH 23/26 v7] mips: mtmips: add SPL sup... Stefan Roese
- Re: [PATCH 23/26 v7] mips: mtmips: add SPL... Daniel Schwierzeck