MT#55283 fix iqueue pop linkage

Change-Id: If5b2969548bb3b58abe8c48d8d0f265e558ab416
(cherry picked from commit 8af55fd116)
(cherry picked from commit 6f4c829187)
mr26.2.1
Richard Fuchs 2 weeks ago
parent dc57eeb657
commit b99d8efb88

@ -57,6 +57,10 @@
(list)->length--; \
if (!(list)->head) \
(list)->tail = NULL; \
else { \
__auto_type __head = (__typeof((list)->offset)) (list)->head; \
__head->link.prev = NULL; \
} \
} \
__ret; \
})
@ -104,6 +108,7 @@
} \
else \
(list)->head = __link->link.next; \
__link->link.next = __link->link.prev = NULL; \
(list)->length--; \
} while (0)

Loading…
Cancel
Save