summaryrefslogtreecommitdiff
path: root/env/sata.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/sata.c')
-rw-r--r--env/sata.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/env/sata.c b/env/sata.c
index a77029774e..4bfe0119df 100644
--- a/env/sata.c
+++ b/env/sata.c
@@ -113,9 +113,7 @@ static void env_sata_load(void)
return -EIO;
}
- env_import(buf, 1);
-
- return 0;
+ return env_import(buf, 1);
}
U_BOOT_ENV_LOCATION(sata) = {