From: Simon Glass Date: Wed, 26 Jul 2017 11:19:41 -0600 Subject: [U-Boot] [PATCH v3 17/24] env: Drop env_init_new() In-Reply-To: <20170726171948.160445-1-sjg@chromium.org> References: <20170726171948.160445-1-sjg@chromium.org> Message-ID: <20170726171948.160445-18-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Now that env_init() is only defined once we can drop the env_init_new() name and just use env_init(). Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- Changes in v3: None Changes in v2: None env/env.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/env/env.c b/env/env.c index a649457270..70ce2857c3 100644 --- a/env/env.c +++ b/env/env.c @@ -125,7 +125,7 @@ int env_save(void) return 0; } -int env_init_new(void) +int env_init(void) { struct env_driver *drv = env_driver_lookup_default(); int ret = -ENOSYS; @@ -169,7 +169,3 @@ int saveenv(void) return env_save(); } -int env_init(void) -{ - return env_init_new(); -} -- 2.14.0.rc0.400.g1c36432dff-goog