diff options
author | Stefan Roese <sr@denx.de> | 2020-04-21 09:28:44 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@gmail.com> | 2020-04-27 20:29:33 +0200 |
commit | f1b0f1550b35ca5597e31e84ef7843c27d62a3bc (patch) | |
tree | 4f600cb32b8a79ea2d0b2fbd851fcf2e5e6e94fc /include/libtizen.h | |
parent | 2fc91ed3baf39cca548107b03b3a9ac4fb0b47f6 (diff) |
spl: spl_nor: Remove unused variable 'ret' warning
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@denx.de>
Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Cc: Weijie Gao <weijie.gao@mediatek.com>
Cc: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Diffstat (limited to 'include/libtizen.h')
0 files changed, 0 insertions, 0 deletions