diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-13 12:48:38 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-13 19:59:57 -0400 |
commit | c151272d1687ce2a379a93bf848080f9a42f1cef (patch) | |
tree | 81959105d1966ae4a33790c66d5a6fe3b6ba5cc9 /scripts/kconfig | |
parent | 56869d45e364244a721de34ce9c5dc9ed022779e (diff) |
kconfig: remove unused sym_get_env_prop() function
This function is unused 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>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/lkc.h | 1 | ||||
-rw-r--r-- | scripts/kconfig/symbol.c | 9 |
2 files changed, 0 insertions, 10 deletions
diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index 6b7bbc6238e3..9eb7c837cd8f 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.h | |||
@@ -125,7 +125,6 @@ const char *sym_get_string_default(struct symbol *sym); | |||
125 | struct symbol *sym_check_deps(struct symbol *sym); | 125 | struct symbol *sym_check_deps(struct symbol *sym); |
126 | struct property *prop_alloc(enum prop_type type, struct symbol *sym); | 126 | struct property *prop_alloc(enum prop_type type, struct symbol *sym); |
127 | struct symbol *prop_get_symbol(struct property *prop); | 127 | struct symbol *prop_get_symbol(struct property *prop); |
128 | struct property *sym_get_env_prop(struct symbol *sym); | ||
129 | 128 | ||
130 | static inline tristate sym_get_tristate_value(struct symbol *sym) | 129 | static inline tristate sym_get_tristate_value(struct symbol *sym) |
131 | { | 130 | { |
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c index 869a5e8e87a5..073d780f7ec9 100644 --- a/scripts/kconfig/symbol.c +++ b/scripts/kconfig/symbol.c | |||
@@ -76,15 +76,6 @@ struct property *sym_get_choice_prop(struct symbol *sym) | |||
76 | return NULL; | 76 | return NULL; |
77 | } | 77 | } |
78 | 78 | ||
79 | struct property *sym_get_env_prop(struct symbol *sym) | ||
80 | { | ||
81 | struct property *prop; | ||
82 | |||
83 | for_all_properties(sym, prop, P_ENV) | ||
84 | return prop; | ||
85 | return NULL; | ||
86 | } | ||
87 | |||
88 | static struct property *sym_get_default_prop(struct symbol *sym) | 79 | static struct property *sym_get_default_prop(struct symbol *sym) |
89 | { | 80 | { |
90 | struct property *prop; | 81 | struct property *prop; |