mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-16 09:54:35 +00:00
spl: Drop a duplicate variable in boot_from_devices()
The variable 'ret' is defined twice, which is not intended. This may have been a local merge error. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 2eefeb6d893 ("spl: Report a loader failure")
This commit is contained in:
parent
290d0cf0c0
commit
fe13e33ddb
1 changed files with 0 additions and 1 deletions
|
@ -612,7 +612,6 @@ static int boot_from_devices(struct spl_image_info *spl_image,
|
|||
for (i = 0; i < count && spl_boot_list[i] != BOOT_DEVICE_NONE; i++) {
|
||||
struct spl_image_loader *loader;
|
||||
int bootdev = spl_boot_list[i];
|
||||
int ret;
|
||||
|
||||
if (CONFIG_IS_ENABLED(SHOW_ERRORS))
|
||||
ret = -ENXIO;
|
||||
|
|
Loading…
Add table
Reference in a new issue