From 310fb14b2631b2175efe9b0e56d0f1630ad02d91 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Aug 2017 12:22:07 -0600 Subject: env: Drop env_relocate_spec() in favour of env_load() This is a strange name for a function that loads the environment. There is now only one implementation of this function, so use the new env_load() function directly instead. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- env/common.c | 2 +- env/env.c | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) (limited to 'env') diff --git a/env/common.c b/env/common.c index 9b3a26859f..0cc8829d0d 100644 --- a/env/common.c +++ b/env/common.c @@ -280,7 +280,7 @@ void env_relocate(void) set_default_env("!bad CRC"); #endif } else { - env_relocate_spec(); + env_load(); } } diff --git a/env/env.c b/env/env.c index a239d93156..85d95e5747 100644 --- a/env/env.c +++ b/env/env.c @@ -150,11 +150,6 @@ int env_init(void) return 0; } -void env_relocate_spec(void) -{ - env_load(); -} - int saveenv(void) { return env_save(); -- cgit v1.2.3