summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linkedlist.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/linkedlist.h b/src/linkedlist.h
index 4f07927..d36f07f 100644
--- a/src/linkedlist.h
+++ b/src/linkedlist.h
@@ -269,7 +269,6 @@ static inline void list_splice_init(struct list_head *list,
typeof(pos) ret = NULL; \
struct list_head *a_head = head; \
if (pos->member.direction == a_head) { \
- if (a_head->direction != &pos->member) \
ret = list_entry(a_head->direction, \
typeof(*pos), member); \
} else { \