[whitespace] ck_queue: small formatting cleanup.

awsm
Andriy Gapon 6 years ago committed by Samy Al Bahra
parent 27c5f6f05f
commit 5b74d9f9b0

@ -181,7 +181,7 @@ struct { \
} while (0) } while (0)
#define CK_SLIST_REMOVE_AFTER(elm, field) do { \ #define CK_SLIST_REMOVE_AFTER(elm, field) do { \
ck_pr_store_ptr(&(elm)->field.csle_next, \ ck_pr_store_ptr(&(elm)->field.csle_next, \
(elm)->field.csle_next->field.csle_next); \ (elm)->field.csle_next->field.csle_next); \
} while (0) } while (0)
@ -190,7 +190,7 @@ struct { \
CK_SLIST_REMOVE_HEAD((head), field); \ CK_SLIST_REMOVE_HEAD((head), field); \
} else { \ } else { \
struct type *curelm = (head)->cslh_first; \ struct type *curelm = (head)->cslh_first; \
while (curelm->field.csle_next != (elm)) \ while (curelm->field.csle_next != (elm)) \
curelm = curelm->field.csle_next; \ curelm = curelm->field.csle_next; \
CK_SLIST_REMOVE_AFTER(curelm, field); \ CK_SLIST_REMOVE_AFTER(curelm, field); \
} \ } \

Loading…
Cancel
Save