Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Apr 2022 03:42:53 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 5f5986656cf3 - main - cas: Mark work3 as unused: we apparently need to read it from hardware, but ignore its value
Message-ID:  <202204060342.2363gr7W089088@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204060342.2363gr7W089088>