git: 546629073d4e - main - cmi: Mark rsp as unused.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Apr 2022 23:45:59 UTC
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=546629073d4e40947a0b169a8d759d9bb12fb732 commit 546629073d4e40947a0b169a8d759d9bb12fb732 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-04-06 23:45:27 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-04-06 23:45:27 +0000 cmi: Mark rsp as unused. If the DEB macro is manually enabled to enable tracing then this variable is used. This doesn't use __diagused since it is dependent on a non-standard debugging macro. --- sys/dev/sound/pci/cmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/cmi.c b/sys/dev/sound/pci/cmi.c index 30868de323b3..bc467aed1ffa 100644 --- a/sys/dev/sound/pci/cmi.c +++ b/sys/dev/sound/pci/cmi.c @@ -421,7 +421,7 @@ cmichan_setspeed(kobj_t obj, void *data, u_int32_t speed) { struct sc_chinfo *ch = data; struct sc_info *sc = ch->parent; - u_int32_t r, rsp; + u_int32_t r, rsp __unused; r = cmpci_rate_to_regvalue(speed); snd_mtxlock(sc->lock);