Skip to content

Commit

Permalink
kconfig: remove unused expr_is_no()
Browse files Browse the repository at this point in the history
This has not been used since commit e911503 ("Kconfig: Remove
bad inference rules expr_eliminate_dups2()").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed May 29, 2024
1 parent 1613e60 commit a607468
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/kconfig/expr.h
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,6 @@ static inline int expr_is_yes(struct expr *e)
return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes);
}

static inline int expr_is_no(struct expr *e)
{
return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no);
}

#ifdef __cplusplus
}
#endif
Expand Down

0 comments on commit a607468

Please sign in to comment.