kconfig: remove unused expr_is_no()
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 19 May 2024 04:24:30 +0000 (13:24 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 29 May 2024 07:40:03 +0000 (16:40 +0900)
This has not been used since commit e911503085ae ("Kconfig: Remove
bad inference rules expr_eliminate_dups2()").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/expr.h

index d965e427753eb7f7d94c40600603ddb21bef19e7..fa50fc45622e38e717901e71c54532432c7f1c0c 100644 (file)
@@ -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