]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
kconfig: remove expr_list_for_each_sym() macro
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 18 Jun 2024 10:35:26 +0000 (19:35 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 15 Jul 2024 16:08:37 +0000 (01:08 +0900)
All users of this macro have been converted. Remove it.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/expr.h

index 7acf27a4f454f8bd5e81bf1e45a4c6579a531690..1d1c4442c941eb83a85762986824d05ba5c007bc 100644 (file)
@@ -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;