Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit a607468

Browse files
committed
kconfig: remove unused expr_is_no()
This has not been used since commit e911503 ("Kconfig: Remove bad inference rules expr_eliminate_dups2()"). Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 1613e60 commit a607468

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

scripts/kconfig/expr.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,6 @@ static inline int expr_is_yes(struct expr *e)
302302
return !e || (e->type == E_SYMBOL && e->left.sym == &symbol_yes);
303303
}
304304

305-
static inline int expr_is_no(struct expr *e)
306-
{
307-
return e && (e->type == E_SYMBOL && e->left.sym == &symbol_no);
308-
}
309-
310305
#ifdef __cplusplus
311306
}
312307
#endif

0 commit comments

Comments
 (0)