mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] startup: remove unused editcmd variable
@ 2019-07-04  6:44 Sascha Hauer
  2019-07-04  6:44 ` [PATCH 2/4] startup: Create global.linux.bootargs.dyn.* variables where they are needed Sascha Hauer
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Sascha Hauer @ 2019-07-04  6:44 UTC (permalink / raw)
  To: Barebox List

Nobody uses global.editcmd, so remove it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 common/startup.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/common/startup.c b/common/startup.c
index 5686c0fb32..749db18e5a 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -153,7 +153,6 @@ static const char * const global_autoboot_abort_keys[] = {
 };
 static int global_autoboot_timeout = 3;
 static char *global_boot_default;
-static char *global_editcmd;
 static char *global_linux_bootargs_base;
 static char *global_linux_bootargs_dyn_ip;
 static char *global_linux_bootargs_dyn_root;
@@ -213,7 +212,6 @@ static int run_init(void)
 		return 0;
 	}
 
-	global_editcmd = xstrdup("sedit");
 	global_user = xstrdup("none");
 	globalvar_add_simple_string("user", &global_user);
 	global_boot_default = xstrdup("net");
@@ -225,7 +223,6 @@ static int run_init(void)
 	globalvar_add_simple_int("autoboot_timeout",
 				 &global_autoboot_timeout, "%u");
 	globalvar_add_simple_string("boot.default", &global_boot_default);
-	globalvar_add_simple_string("editcmd", &global_editcmd);
 	globalvar_add_simple_string("linux.bootargs.base",
 				    &global_linux_bootargs_base);
 	globalvar_add_simple_string("linux.bootargs.dyn.ip",
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-07-04  6:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-04  6:44 [PATCH 1/4] startup: remove unused editcmd variable Sascha Hauer
2019-07-04  6:44 ` [PATCH 2/4] startup: Create global.linux.bootargs.dyn.* variables where they are needed Sascha Hauer
2019-07-04  6:44 ` [PATCH 3/4] startup: Create boot related variables where they are used Sascha Hauer
2019-07-04  6:44 ` [PATCH 4/4] startup: Factor out the autoboot counter to separate function Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox