aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorMasahiro Yamada <[email protected]>2024-06-18 10:35:26 +0000
committerMasahiro Yamada <[email protected]>2024-07-15 16:08:37 +0000
commit8926bc901d617f21d5ebd2eda17aeea55bbecd9a (patch)
tree244bca4880abd27d88aa210fff2b315a085a3a93 /scripts/kconfig/expr.h
parentkconfig: use menu_list_for_each_sym() in sym_choice_default() (diff)
downloadkernel-8926bc901d617f21d5ebd2eda17aeea55bbecd9a.tar.gz
kernel-8926bc901d617f21d5ebd2eda17aeea55bbecd9a.zip
kconfig: remove expr_list_for_each_sym() macro
All users of this macro have been converted. Remove it. Signed-off-by: Masahiro Yamada <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.h')
-rw-r--r--scripts/kconfig/expr.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index 7acf27a4f454..1d1c4442c941 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -43,9 +43,6 @@ struct expr {
#define EXPR_AND(dep1, dep2) (((dep1)<(dep2))?(dep1):(dep2))
#define EXPR_NOT(dep) (2-(dep))
-#define expr_list_for_each_sym(l, e, s) \
- for (e = (l); e && (s = e->right.sym); e = e->left.expr)
-
struct expr_value {
struct expr *expr;
tristate tri;