]> git.sur5r.net Git - u-boot/blobdiff - env/ubi.c
efi_selftest: test gop bitblt
[u-boot] / env / ubi.c
index 72c7a7829e556fcc7d732b0acc6863d7bbdad409..d4f4901ac4b1fbfccd0ad8958582e86dbacc8e53 100644 (file)
--- a/env/ubi.c
+++ b/env/ubi.c
@@ -163,9 +163,7 @@ static int env_ubi_load(void)
                return -EIO;
        }
 
-       env_import(buf, 1);
-
-       return 0;
+       return env_import(buf, 1);
 }
 #endif /* CONFIG_SYS_REDUNDAND_ENVIRONMENT */