git: fcd0ea3a3824 - main - if_mvneta: Use __diagused for a variable only used in KASSERT().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 13 Apr 2022 23:09:54 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=fcd0ea3a382418e4e41d49454e2b881f9603f7db commit fcd0ea3a382418e4e41d49454e2b881f9603f7db Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-13 23:08:22 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-13 23:08:22 +0000 if_mvneta: Use __diagused for a variable only used in KASSERT(). --- sys/dev/neta/if_mvneta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/neta/if_mvneta.c b/sys/dev/neta/if_mvneta.c index bb9a3e37686b..05662cdc7f77 100644 --- a/sys/dev/neta/if_mvneta.c +++ b/sys/dev/neta/if_mvneta.c @@ -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;