summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-07-03 12:40:31 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-07-03 16:38:57 +0200
commit748adcd7ebfb1cced8611df5d494b20d650c0996 (patch)
tree8f124f861b56f897334397e7c229491dcc5cc2e4 /common/startup.c
parent7184fcfac6a4940fb29908a3b0133e710f78e6df (diff)
downloadbarebox-748adcd7ebfb1cced8611df5d494b20d650c0996.tar.gz
startup: remove unused editcmd variable
Nobody uses global.editcmd, so remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/startup.c b/common/startup.c
index 5686c0f..749db18 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",