Re: [PATCH 20/26 v7] spl: spl_nor: Remove unused variable 'ret' warning

2020-04-23 Thread Daniel Schwierzeck
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 'r

[PATCH 20/26 v7] spl: spl_nor: Remove unused variable 'ret' warning

2020-04-21 Thread 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 Cc: D