aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorWang YanQing <udknight@gmail.com>2012-12-17 09:56:14 -0500
committerYann E. MORIN <yann.morin.1998@free.fr>2013-01-15 18:00:35 -0500
commit1bdbac478a858d2aa73a6784c7c2e09de0f6d06b (patch)
tree8cb64ccbf34e2636cba5561cc3eac799baa0ed3e /scripts/kconfig
parent6364fd0cb1e4c7f72b974613e0cf5744ae4d2cb2 (diff)
menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"
Now we have Load/Save buttons to do the Load/Save in the convenient place, so we can drop the top-level entries. Signed-off-by: Wang YanQing <udknight@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r--scripts/kconfig/mconf.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 88e806857dc3..680135effd9b 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -599,14 +599,6 @@ static void conf(struct menu *menu, struct menu *active_menu)
599 build_conf(menu); 599 build_conf(menu);
600 if (!child_count) 600 if (!child_count)
601 break; 601 break;
602 if (menu == &rootmenu) {
603 item_make("--- ");
604 item_set_tag(':');
605 item_make(_(" Load an Alternate Configuration File"));
606 item_set_tag('L');
607 item_make(_(" Save an Alternate Configuration File"));
608 item_set_tag('S');
609 }
610 dialog_clear(); 602 dialog_clear();
611 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"), 603 res = dialog_menu(prompt ? _(prompt) : _("Main Menu"),
612 _(menu_instructions), 604 _(menu_instructions),
@@ -643,12 +635,6 @@ static void conf(struct menu *menu, struct menu *active_menu)
643 case 's': 635 case 's':
644 conf_string(submenu); 636 conf_string(submenu);
645 break; 637 break;
646 case 'L':
647 conf_load();
648 break;
649 case 'S':
650 conf_save();
651 break;
652 } 638 }
653 break; 639 break;
654 case 2: 640 case 2: