diff --git a/include/qb/qblist.h b/include/qb/qblist.h index a52c035..dadae9b 100644 --- a/include/qb/qblist.h +++ b/include/qb/qblist.h @@ -130,7 +130,7 @@ static inline void qb_list_splice(struct qb_list_head *list, struct qb_list_head *last = list->prev; struct qb_list_head *at = head->next; - if (qb_list_empty(list) == 0) { + if (qb_list_empty(list)) { return; } first->prev = head;