summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-05-19 13:24:30 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2024-05-29 16:40:03 +0900
commita607468b521cc99ca64f19947cb7a40f8c814730 (patch)
tree5cb8b0c2801254c62dca7d61ff4b77d15c0584f1
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
kconfig: remove unused expr_is_no()
This has not been used since commit e911503085ae ("Kconfig: Remove bad inference rules expr_eliminate_dups2()"). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
-rw-r--r--scripts/kconfig/expr.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index d965e427753e..fa50fc45622e 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -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