diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-04-27 12:16:38 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-05-02 14:14:16 +0300 |
commit | a7c79cf3e4eb3c869148c81d2a7dc684bc8eeb07 (patch) | |
tree | 83418f44b95cbd39d022333774d3fcba0ac30aba /scripts/kconfig/expr.h | |
parent | aba091547ef6159d52471f42a3ef531b7b660ed8 (diff) | |
download | linux-a7c79cf3e4eb3c869148c81d2a7dc684bc8eeb07.tar.xz |
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>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r-- | scripts/kconfig/expr.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index f646a98de006..d965e427753e 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h @@ -135,7 +135,6 @@ struct symbol { #define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */ #define SYMBOL_CHANGED 0x0400 /* ? */ #define SYMBOL_WRITTEN 0x0800 /* track info to avoid double-write to .config */ -#define SYMBOL_NO_WRITE 0x1000 /* Symbol for internal use only; it will not be written */ #define SYMBOL_CHECKED 0x2000 /* used during dependency checking */ #define SYMBOL_WARNED 0x8000 /* warning has been issued */ |