diff options
| author | Simon Glass <sjg@chromium.org> | 2024-12-07 10:24:06 -0700 | 
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2024-12-12 16:35:24 -0600 | 
| commit | fe13e33ddbc95738c51a287934094829eb986763 (patch) | |
| tree | cadbec0dfe15d14fc941e8cf5ba6a98c96c4bd4e | |
| parent | 290d0cf0c06e128a7f7d948fd54f0b22ee95aa62 (diff) | |
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")
| -rw-r--r-- | common/spl/spl.c | 1 | 
1 files changed, 0 insertions, 1 deletions
| diff --git a/common/spl/spl.c b/common/spl/spl.c index 702920bd2f7..ad31a2f8b6c 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -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; | 
