kconfig: remove SYMBOL_NO_WRITE flag
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 27 Apr 2024 09:16:38 +0000 (18:16 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 2 May 2024 11:14:16 +0000 (20:14 +0900)
commita7c79cf3e4eb3c869148c81d2a7dc684bc8eeb07
tree83418f44b95cbd39d022333774d3fcba0ac30aba
parentaba091547ef6159d52471f42a3ef531b7b660ed8
kconfig: remove SYMBOL_NO_WRITE flag

This flag is set to symbols that are not intended to be written
to the .config file.

Since commit b75b0a819af9 ("kconfig: change defconfig_list option to
environment variable"), SYMBOL_NO_WRITE is only set to choices.

Therefore, (sym->flags & SYMBOL_NO_WRITE) is equivalent to
sym_is_choice(sym). This flag is no longer necessary.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/confdata.c
scripts/kconfig/expr.h
scripts/kconfig/gconf.c
scripts/kconfig/parser.y
scripts/kconfig/symbol.c