Skip to contentSkip to conversation

kconfig: remove unused expr_is_no()

PATCH New Masahiro Yamada 1 participant 1 message May 19, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kconfig: remove unused expr_is_no()

This has not been used since commit e911503085ae ("Kconfig: Remove bad inference rules expr_eliminate_dups2()").

---

 scripts/kconfig/expr.h | 5 -----
 1 file changed, 5 deletions(-)
scripts/kconfig/expr.h +0 -5
index 1f30e0538471..f039c1a4fbc1 100644
@@ -298,11 +298,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
Signature · 1 line
2.40.1