[PATCH 20/26 v7] spl: spl_nor: Remove unused variable 'ret' warning
Daniel Schwierzeck
daniel.schwierzeck at gmail.com
Thu Apr 23 21:30:19 CEST 2020
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 <sr at denx.de>
> Cc: Daniel Schwierzeck <daniel.schwierzeck at gmail.com>
> Cc: Weijie Gao <weijie.gao at mediatek.com>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at 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.schwierzeck at gmail.com>
--
- Daniel
More information about the U-Boot
mailing list