From 91f5df61ee2bc90fda695d3a0db33b07916001ba Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 30 Oct 2018 00:41:27 +0900 Subject: [PATCH] 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 --- config/conf.c | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.31.1