Date: Wed, 6 Apr 2022 23:45:59 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 546629073d4e - main - cmi: Mark rsp as unused. Message-ID: <202204062345.236Njx3K008642@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202204062345.236Njx3K008642>