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
This commit is contained in:
parent
7ecdfc8237
commit
0def501d14
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user