diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-13 12:48:39 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-13 20:01:47 -0400 |
commit | 1880861226c13ddd42c34ddd30c3b502b650fe29 (patch) | |
tree | d8cb770a32d7d5aca054b3c9bcfd08d530d652c8 | |
parent | c151272d1687ce2a379a93bf848080f9a42f1cef (diff) |
kconfig: remove P_ENV property type
This property is not set by anyone since commit 104daea149c4 ("kconfig:
reference environment variables directly and remove 'option env='").
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | scripts/kconfig/expr.h | 1 | ||||
-rw-r--r-- | scripts/kconfig/qconf.cc | 1 | ||||
-rw-r--r-- | scripts/kconfig/symbol.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h index 84a5199bb46b..7c329e179007 100644 --- a/scripts/kconfig/expr.h +++ b/scripts/kconfig/expr.h | |||
@@ -185,7 +185,6 @@ enum prop_type { | |||
185 | P_SELECT, /* select BAR */ | 185 | P_SELECT, /* select BAR */ |
186 | P_IMPLY, /* imply BAR */ | 186 | P_IMPLY, /* imply BAR */ |
187 | P_RANGE, /* range 7..100 (for a symbol) */ | 187 | P_RANGE, /* range 7..100 (for a symbol) */ |
188 | P_ENV, /* value from environment variable */ | ||
189 | P_SYMBOL, /* where a symbol is defined */ | 188 | P_SYMBOL, /* where a symbol is defined */ |
190 | }; | 189 | }; |
191 | 190 | ||
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 62261b3a13c7..ef4310f2558b 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc | |||
@@ -1149,7 +1149,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym) | |||
1149 | case P_DEFAULT: | 1149 | case P_DEFAULT: |
1150 | case P_SELECT: | 1150 | case P_SELECT: |
1151 | case P_RANGE: | 1151 | case P_RANGE: |
1152 | case P_ENV: | ||
1153 | debug += prop_get_type_name(prop->type); | 1152 | debug += prop_get_type_name(prop->type); |
1154 | debug += ": "; | 1153 | debug += ": "; |
1155 | expr_print(prop->expr, expr_print_help, &debug, E_NONE); | 1154 | expr_print(prop->expr, expr_print_help, &debug, E_NONE); |
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 073d780f7ec9..4ec8b1f0d42c 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c | |||
@@ -1289,8 +1289,6 @@ const char *prop_get_type_name(enum prop_type type) | |||
1289 | switch (type) { | 1289 | switch (type) { |
1290 | case P_PROMPT: | 1290 | case P_PROMPT: |
1291 | return "prompt"; | 1291 | return "prompt"; |
1292 | case P_ENV: | ||
1293 | return "env"; | ||
1294 | case P_COMMENT: | 1292 | case P_COMMENT: |
1295 | return "comment"; | 1293 | return "comment"; |
1296 | case P_MENU: | 1294 | case P_MENU: |