git: 5f5986656cf3 - main - cas: Mark work3 as unused: we apparently need to read it from hardware, but ignore its value
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 03:42:53 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=5f5986656cf30089310abab33aa13a8d95d21f36
commit 5f5986656cf30089310abab33aa13a8d95d21f36
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-06 01:57:46 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-06 03:42:05 +0000
cas: Mark work3 as unused: we apparently need to read it from hardware, but ignore its value
Sponsored by: Netflix
---
sys/dev/cas/if_cas.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/cas/if_cas.c b/sys/dev/cas/if_cas.c
index 653448eea405..6b66ca9f63a7 100644
--- a/sys/dev/cas/if_cas.c
+++ b/sys/dev/cas/if_cas.c
@@ -1624,7 +1624,7 @@ cas_rint(struct cas_softc *sc)
struct cas_rxdsoft *rxds, *rxds2;
struct ifnet *ifp = sc->sc_ifp;
struct mbuf *m, *m2;
- uint64_t word1, word2, word3, word4;
+ uint64_t word1, word2, word3 __unused, word4;
uint32_t rxhead;
u_int idx, idx2, len, off, skip;