From 4aeabd9672fa2c00434783c5aaa8e74185eb464e Mon Sep 17 00:00:00 2001 From: Denys Drozdov Date: Tue, 23 Aug 2022 13:05:48 +0200 Subject: [PATCH] verdin-imx8mm: do not save environment when it's nowhere This code part is broken, remove it. Signed-off-by: Andrejs Cainikovs Signed-off-by: Denys Drozdov --- board/toradex/verdin-imx8mm/verdin-imx8mm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c b/board/toradex/verdin-imx8mm/verdin-imx8mm.c index 7597cd81f9..bad8833b22 100644 --- a/board/toradex/verdin-imx8mm/verdin-imx8mm.c +++ b/board/toradex/verdin-imx8mm/verdin-imx8mm.c @@ -102,9 +102,6 @@ static void select_dt_from_module_version(void) if (strcmp(variant, env_variant)) { printf("Setting variant to %s\n", variant); env_set("variant", variant); - - if (IS_ENABLED(CONFIG_ENV_IS_NOWHERE)) - env_save(); } } -- 2.39.5