]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
list: drop unnecessary line continuation
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Dec 2021 10:21:16 +0000 (19:21 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Dec 2021 15:47:37 +0000 (00:47 +0900)
Fixes #21886.

coccinelle/macros.h
src/basic/list.h

index 0be4aaea427968cf776bfae38d2c64304e1e71da..6a0a64bb05c877130e67a46985fc148acecc7d54 100644 (file)
         } 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)                                \
index effee0e435e532450244e0a5b68fa311881a1422..f827e721ebc2b44910c474085604bbdae9e10509 100644 (file)
         } 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)