mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 12:11:40 +00:00
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:
parent
cc3e4e5e38
commit
648d82a984
@ -541,10 +541,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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user