Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: qconf: remove redundant type check for choice members

Since commit fde192511bdb ("kconfig: remove tristate choice support"),
choice members are always boolean. The type check is redundant.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -1
+1 -1
scripts/kconfig/qconf.cc
··· 159 159 ch = 'M'; 160 160 break; 161 161 default: 162 - if (sym_is_choice_value(sym) && type == S_BOOLEAN) 162 + if (sym_is_choice_value(sym)) 163 163 setIcon(promptColIdx, choiceNoIcon); 164 164 else 165 165 setIcon(promptColIdx, symbolNoIcon);