summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/symbol.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-13 18:48:38 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-08-14 01:59:57 +0200
commitc151272d1687ce2a379a93bf848080f9a42f1cef (patch)
tree81959105d1966ae4a33790c66d5a6fe3b6ba5cc9 /scripts/kconfig/symbol.c
parentkconfig: fix the rule of mainmenu_stmt symbol (diff)
downloadlinux-c151272d1687ce2a379a93bf848080f9a42f1cef.tar.xz
linux-c151272d1687ce2a379a93bf848080f9a42f1cef.zip
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 '')
-rw-r--r--scripts/kconfig/symbol.c9
1 files changed, 0 insertions, 9 deletions
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)
return NULL;
}
-struct property *sym_get_env_prop(struct symbol *sym)
-{
- struct property *prop;
-
- for_all_properties(sym, prop, P_ENV)
- return prop;
- return NULL;
-}
-
static struct property *sym_get_default_prop(struct symbol *sym)
{
struct property *prop;