From: Daniel Schwierzeck Date: Thu, 23 Apr 2020 21:30:19 +0200 Subject: [PATCH 20/26 v7] spl: spl_nor: Remove unused variable 'ret' warning In-Reply-To: <20200421072850.4970-21-sr@denx.de> References: <20200421072850.4970-1-sr@denx.de> <20200421072850.4970-21-sr@denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Cc: Daniel Schwierzeck > Cc: Weijie Gao > Cc: Simon Goldschmidt > --- > Changes in v7: > - New patch > > common/spl/spl_nor.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > Reviewed-by: Daniel Schwierzeck -- - Daniel