diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-10 15:57:22 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-04-14 15:22:49 +0900 |
commit | 5ee546594025fc9337e4cc8b79db89f1258cf480 (patch) | |
tree | c98b49c0732458eaea9bc63fae96868a649fc794 /scripts/kconfig/lkc.h | |
parent | 1f035a52918a4c97b99c5d9f0d5023fe659bccaa (diff) |
kconfig: change sym_change_count to a boolean flag
sym_change_count has no good reason to be 'int' type.
sym_set_change_count() compares the old and new values after casting
both of them to (bool). I do not see any practical diffrence between
sym_set_change_count(1) and sym_add_change_count(1).
Use the boolean flag, conf_changed.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/lkc.h')
-rw-r--r-- | scripts/kconfig/lkc.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 01666f558fe9..45599c52478d 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h @@ -45,8 +45,6 @@ const char *zconf_curname(void); /* confdata.c */ const char *conf_get_configname(void); -void sym_set_change_count(int count); -void sym_add_change_count(int count); void set_all_choice_values(struct symbol *csym); /* confdata.c and expr.c */ |