From: Yu Watanabe Date: Fri, 24 Dec 2021 10:21:16 +0000 (+0900) Subject: list: drop unnecessary line continuation X-Git-Tag: v251-rc1~656 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbf8fc90d50733e9096f73d590541213aa158c26;p=thirdparty%2Fsystemd.git list: drop unnecessary line continuation Fixes #21886. --- diff --git a/coccinelle/macros.h b/coccinelle/macros.h index 0be4aaea427..6a0a64bb05c 100644 --- a/coccinelle/macros.h +++ b/coccinelle/macros.h @@ -165,7 +165,7 @@ } while (false) #define LIST_JUST_US(name,item) \ - (!(item)->name##_prev && !(item)->name##_next) \ + (!(item)->name##_prev && !(item)->name##_next) #define LIST_FOREACH(name,i,head) \ for ((i) = (head); (i); (i) = (i)->name##_next) #define LIST_FOREACH_SAFE(name,i,n,head) \ diff --git a/src/basic/list.h b/src/basic/list.h index effee0e435e..f827e721ebc 100644 --- a/src/basic/list.h +++ b/src/basic/list.h @@ -134,7 +134,7 @@ } while (false) #define LIST_JUST_US(name,item) \ - (!(item)->name##_prev && !(item)->name##_next) \ + (!(item)->name##_prev && !(item)->name##_next) #define LIST_FOREACH(name,i,head) \ for ((i) = (head); (i); (i) = (i)->name##_next)