]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kconfig: remove P_ENV property type
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 13 Aug 2018 16:48:39 +0000 (01:48 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 14 Aug 2018 00:01:47 +0000 (09:01 +0900)
This property is not set by anyone since commit 18343bad49f7 ("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>
scripts/kconfig/expr.h
scripts/kconfig/qconf.cc
scripts/kconfig/symbol.c

index 84a5199bb46b94894195d39fbda084b6542a38ec..7c329e179007a1e7cf92f012eee74f9ccb2f85d1 100644 (file)
@@ -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 */
 };
 
index 62261b3a13c7be4ca46758cee8ada61c77f6d9c7..ef4310f2558b1be23c3e8705e8a9a11e97ec03ff 100644 (file)
@@ -1149,7 +1149,6 @@ QString ConfigInfoView::debug_info(struct symbol *sym)
                case P_DEFAULT:
                case P_SELECT:
                case P_RANGE:
-               case P_ENV:
                        debug += prop_get_type_name(prop->type);
                        debug += ": ";
                        expr_print(prop->expr, expr_print_help, &debug, E_NONE);
index 073d780f7ec9fb175cb973e4564ad397bfca0620..4ec8b1f0d42c533480054136088b3d157b1be545 100644 (file)
@@ -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: