Skip to content

Commit

Permalink
kconfig: remove unused sym_get_env_prop() function
Browse files Browse the repository at this point in the history
This function is unused since commit 104daea ("kconfig: reference
environment variables directly and remove 'option env='").

Signed-off-by: Masahiro Yamada <[email protected]>
Acked-by: Sam Ravnborg <[email protected]>
  • Loading branch information
masahir0y committed Aug 13, 2018
1 parent 56869d4 commit c151272
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion scripts/kconfig/lkc.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ const char *sym_get_string_default(struct symbol *sym);
struct symbol *sym_check_deps(struct symbol *sym);
struct property *prop_alloc(enum prop_type type, struct symbol *sym);
struct symbol *prop_get_symbol(struct property *prop);
struct property *sym_get_env_prop(struct symbol *sym);

static inline tristate sym_get_tristate_value(struct symbol *sym)
{
Expand Down
9 changes: 0 additions & 9 deletions scripts/kconfig/symbol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c151272

Please sign in to comment.