Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
[linux-2.6-block.git] / net / xdp / xsk_queue.h
index 12b49784a6d596bb051b3f2f683dbd7e35162d08..909c5168ed0f87c3d0e1d14359efb67fe0bebab1 100644 (file)
@@ -302,7 +302,7 @@ static inline void xskq_produce_flush_desc(struct xsk_queue *q)
        /* Order producer and data */
        smp_wmb(); /* B, matches C */
 
-       q->prod_tail = q->prod_head,
+       q->prod_tail = q->prod_head;
        WRITE_ONCE(q->ring->producer, q->prod_tail);
 }