ck_hp_fifo: No need for volatile atomic stores on initialization.

ck_pring
Samy Al Bahra 11 years ago
parent ca49839883
commit 06feae82f3

@ -60,9 +60,8 @@ CK_CC_INLINE static void
ck_hp_fifo_init(struct ck_hp_fifo *fifo, struct ck_hp_fifo_entry *stub)
{
ck_pr_store_ptr(&stub->next, NULL);
ck_pr_store_ptr(&fifo->head, stub);
ck_pr_store_ptr(&fifo->tail, stub);
fifo->head = fifo->tail = stub;
stub->next = NULL;
return;
}

Loading…
Cancel
Save