diff options
| author | Masahiro Yamada <[email protected]> | 2024-05-19 04:24:30 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2024-05-29 07:40:03 +0000 |
| commit | a607468b521cc99ca64f19947cb7a40f8c814730 (patch) | |
| tree | 5cb8b0c2801254c62dca7d61ff4b77d15c0584f1 /scripts/kconfig/expr.h | |
| parent | Linux 6.10-rc1 (diff) | |
| download | kernel-a607468b521cc99ca64f19947cb7a40f8c814730.tar.gz kernel-a607468b521cc99ca64f19947cb7a40f8c814730.zip | |
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 <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.h')
| -rw-r--r-- | scripts/kconfig/expr.h | 5 |
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 |
