projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1613e60
)
kconfig: remove unused expr_is_no()
author
Masahiro Yamada
<masahiroy@kernel.org>
Sun, 19 May 2024 04:24:30 +0000
(13:24 +0900)
committer
Masahiro 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
patch
|
blob
|
history
diff --git
a/scripts/kconfig/expr.h
b/scripts/kconfig/expr.h
index d965e427753eb7f7d94c40600603ddb21bef19e7..fa50fc45622e38e717901e71c54532432c7f1c0c 100644
(file)
--- 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