Commit 0def501d authored by John Baldwin's avatar John Baldwin
Browse files

mana: Cast an unused value to void to quiet a warning.

This appeases a -Wunused-value warning from GCC 9.

Reviewed by:	whu
Differential Revision:	https://reviews.freebsd.org/D31948
parent 7ecdfc82
......@@ -576,7 +576,7 @@ mana_xmit(struct mana_txq *txq)
next_to_use =
(next_to_use + 1) % MAX_SEND_BUFFERS_PER_QUEUE;
atomic_inc_return(&txq->pending_sends);
(void)atomic_inc_return(&txq->pending_sends);
drbr_advance(ndev, txq->txq_br);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment