Skip to content

Commit 0bab492

Browse files
committed
kconfig: qconf: remove redundant type check for choice members
Since commit fde1925 ("kconfig: remove tristate choice support"), choice members are always boolean. The type check is redundant. Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 4a798a1 commit 0bab492

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/kconfig/qconf.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ void ConfigItem::updateMenu(void)
159159
ch = 'M';
160160
break;
161161
default:
162-
if (sym_is_choice_value(sym) && type == S_BOOLEAN)
162+
if (sym_is_choice_value(sym))
163163
setIcon(promptColIdx, choiceNoIcon);
164164
else
165165
setIcon(promptColIdx, symbolNoIcon);

0 commit comments

Comments
 (0)