if_mvneta: Use __diagused for a variable only used in KASSERT().

This commit is contained in:
John Baldwin 2022-04-13 16:08:22 -07:00
parent e6fd5ca545
commit fcd0ea3a38

View file

@ -2851,7 +2851,7 @@ mvneta_tx_queue_complete(struct mvneta_softc *sc, int q)
{
struct mvneta_tx_ring *tx;
struct mvneta_buf *txbuf;
struct mvneta_tx_desc *t;
struct mvneta_tx_desc *t __diagused;
uint32_t ptxs, ptxsu, ndesc;
int i;