Commit 18808612 authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: remove P_ENV property type

This property is not set by anyone since commit 104daea1 ("kconfig:
reference environment variables directly and remove 'option env='").
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent c151272d
...@@ -185,7 +185,6 @@ enum prop_type { ...@@ -185,7 +185,6 @@ enum prop_type {
P_SELECT, /* select BAR */ P_SELECT, /* select BAR */
P_IMPLY, /* imply BAR */ P_IMPLY, /* imply BAR */
P_RANGE, /* range 7..100 (for a symbol) */ P_RANGE, /* range 7..100 (for a symbol) */
P_ENV, /* value from environment variable */
P_SYMBOL, /* where a symbol is defined */ P_SYMBOL, /* where a symbol is defined */
}; };
......
...@@ -1149,7 +1149,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym) ...@@ -1149,7 +1149,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym)
case P_DEFAULT: case P_DEFAULT:
case P_SELECT: case P_SELECT:
case P_RANGE: case P_RANGE:
case P_ENV:
debug += prop_get_type_name(prop->type); debug += prop_get_type_name(prop->type);
debug += ": "; debug += ": ";
expr_print(prop->expr, expr_print_help, &debug, E_NONE); expr_print(prop->expr, expr_print_help, &debug, E_NONE);
......
...@@ -1289,8 +1289,6 @@ const char *prop_get_type_name(enum prop_type type) ...@@ -1289,8 +1289,6 @@ const char *prop_get_type_name(enum prop_type type)
switch (type) { switch (type) {
case P_PROMPT: case P_PROMPT:
return "prompt"; return "prompt";
case P_ENV:
return "env";
case P_COMMENT: case P_COMMENT:
return "comment"; return "comment";
case P_MENU: case P_MENU:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment