projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: remove redundant input_mode test for check_conf() loop
[carl9170fw.git]
/
config
/
conf.c
diff --git
a/config/conf.c
b/config/conf.c
index 0d21a01122f7a70078fde40bb66cdae3ef03689d..927e3ba5830f0aeb7fdf19de3768f013494411f2 100644
(file)
--- a/
config/conf.c
+++ b/
config/conf.c
@@
-354,8
+354,7
@@
static void conf(struct menu *menu)
switch (prop->type) {
case P_MENU:
switch (prop->type) {
case P_MENU:
- if ((input_mode == listnewconfig ||
- input_mode == oldnoconfig) &&
+ if (input_mode == listnewconfig) &&
rootEntry != menu) {
check_conf(menu);
return;
rootEntry != menu) {
check_conf(menu);
return;
@@
-630,7
+629,7
@@
int main(int ac, char **av)
do {
conf_cnt = 0;
check_conf(&rootmenu);
do {
conf_cnt = 0;
check_conf(&rootmenu);
- } while (conf_cnt
&& input_mode != listnewconfig
);
+ } while (conf_cnt);
break;
}
break;
}