From: Masahiro Yamada Date: Mon, 29 Oct 2018 15:41:27 +0000 (+0900) Subject: kconfig: remove oldnoconfig target X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=commitdiff_plain;h=91f5df61ee2bc90fda695d3a0db33b07916001ba kconfig: remove oldnoconfig target As commit 312ee68752fa ("kconfig: announce removal of oldnoconfig if used") announced, it is time for the removal. Signed-off-by: Masahiro Yamada Signed-off-by: Christian Lamparter --- diff --git a/config/conf.c b/config/conf.c index c19af7d..bd04217 100644 --- a/config/conf.c +++ b/config/conf.c @@ -31,7 +31,6 @@ enum input_mode { defconfig, savedefconfig, listnewconfig, - oldnoconfig, }; static enum input_mode input_mode = oldaskconfig; @@ -454,7 +453,6 @@ static struct option long_opts[] = { {"alldefconfig", no_argument, NULL, alldefconfig}, {"randconfig", no_argument, NULL, randconfig}, {"listnewconfig", no_argument, NULL, listnewconfig}, - {"noconfig", no_argument, NULL, oldnoconfig}, {NULL, 0, NULL, 0} }; @@ -538,7 +536,6 @@ int main(int ac, char **av) case allmodconfig: case alldefconfig: case listnewconfig: - case oldnoconfig: break; case '?': conf_usage(progname); @@ -572,7 +569,6 @@ int main(int ac, char **av) case oldaskconfig: case oldconfig: case listnewconfig: - case oldnoconfig: conf_read(NULL); break; case allnoconfig: @@ -641,7 +637,6 @@ int main(int ac, char **av) /* fall through */ case oldconfig: case listnewconfig: - case oldnoconfig: /* Update until a loop caused no more changes */ do { conf_cnt = 0;