kconfig: m/nconf: merge two item_add_str() calls
Just trivial cleanups. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
@ -845,11 +845,8 @@ static void build_conf(struct menu *menu)
|
||||
item_add_str("%*c%s", indent + 1,
|
||||
' ', menu_get_prompt(menu));
|
||||
if (val == yes) {
|
||||
if (def_menu) {
|
||||
item_add_str(" (%s)",
|
||||
menu_get_prompt(def_menu));
|
||||
item_add_str(" --->");
|
||||
}
|
||||
if (def_menu)
|
||||
item_add_str(" (%s) --->", menu_get_prompt(def_menu));
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user