LIST: fix logic in qb_list_splice()

this fixes "make check"

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2010-10-16 21:42:50 +11:00
parent 4b58dda9fa
commit ab3cc42537

View File

@ -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;