From 26221943909b5cb9d403a42d4a35ba0e7f06a496 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 14 Aug 2018 01:48:39 +0900 Subject: [PATCH] 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 Acked-by: Sam Ravnborg Signed-off-by: Christian Lamparter --- config/expr.h | 1 - config/symbol.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/config/expr.h b/config/expr.h index 84a5199..7c329e1 100644 --- a/config/expr.h +++ b/config/expr.h @@ -185,7 +185,6 @@ enum prop_type { P_SELECT, /* select BAR */ P_IMPLY, /* imply BAR */ P_RANGE, /* range 7..100 (for a symbol) */ - P_ENV, /* value from environment variable */ P_SYMBOL, /* where a symbol is defined */ }; diff --git a/config/symbol.c b/config/symbol.c index 073d780..4ec8b1f 100644 --- a/config/symbol.c +++ b/config/symbol.c @@ -1289,8 +1289,6 @@ const char *prop_get_type_name(enum prop_type type) switch (type) { case P_PROMPT: return "prompt"; - case P_ENV: - return "env"; case P_COMMENT: return "comment"; case P_MENU: -- 2.31.1