From cbf8fc90d50733e9096f73d590541213aa158c26 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 24 Dec 2021 19:21:16 +0900 Subject: [PATCH] list: drop unnecessary line continuation Fixes #21886. --- coccinelle/macros.h | 2 +- src/basic/list.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coccinelle/macros.h b/coccinelle/macros.h index 0be4aaea42..6a0a64bb05 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 effee0e435..f827e721eb 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)