summaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/expr.h
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2024-06-18 12:35:26 +0200
committerMasahiro Yamada <masahiroy@kernel.org>2024-07-15 18:08:37 +0200
commit8926bc901d617f21d5ebd2eda17aeea55bbecd9a (patch)
tree244bca4880abd27d88aa210fff2b315a085a3a93 /scripts/kconfig/expr.h
parentkconfig: use menu_list_for_each_sym() in sym_choice_default() (diff)
downloadlinux-8926bc901d617f21d5ebd2eda17aeea55bbecd9a.tar.xz
linux-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 <masahiroy@kernel.org>
Diffstat (limited to '')
-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;