projects
/
carl9170fw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kconfig: remove P_ENV property type
[carl9170fw.git]
/
config
/
symbol.c
diff --git
a/config/symbol.c
b/config/symbol.c
index 7c9a88e91cfad95f8fa2e350c2dcccb92981d36f..4ec8b1f0d42c533480054136088b3d157b1be545 100644
(file)
--- a/
config/symbol.c
+++ b/
config/symbol.c
@@
-76,15
+76,6
@@
struct property *sym_get_choice_prop(struct symbol *sym)
return NULL;
}
return NULL;
}
-struct property *sym_get_env_prop(struct symbol *sym)
-{
- struct property *prop;
-
- for_all_properties(sym, prop, P_ENV)
- return prop;
- return NULL;
-}
-
static struct property *sym_get_default_prop(struct symbol *sym)
{
struct property *prop;
static struct property *sym_get_default_prop(struct symbol *sym)
{
struct property *prop;
@@
-463,7
+454,7
@@
void sym_calc_value(struct symbol *sym)
}
}
}
}
- if (sym->flags & SYMBOL_
AUTO
)
+ if (sym->flags & SYMBOL_
NO_WRITE
)
sym->flags &= ~SYMBOL_WRITE;
if (sym->flags & SYMBOL_NEED_SET_CHOICE_VALUES)
sym->flags &= ~SYMBOL_WRITE;
if (sym->flags & SYMBOL_NEED_SET_CHOICE_VALUES)
@@
-1298,8
+1289,6
@@
const char *prop_get_type_name(enum prop_type type)
switch (type) {
case P_PROMPT:
return "prompt";
switch (type) {
case P_PROMPT:
return "prompt";
- case P_ENV:
- return "env";
case P_COMMENT:
return "comment";
case P_MENU:
case P_COMMENT:
return "comment";
case P_MENU: