From nobody Wed Apr 06 23:45:59 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DB1821A82863; Wed, 6 Apr 2022 23:46:00 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KYh3W62mfz4Qpn; Wed, 6 Apr 2022 23:45:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VlwDBjCv/rEFn4tbePWji4pMzwIxihPBpx91+8au6Yk=; b=E84HzdyaxCaNzgAXAtBg0CL8RITmAQBz1Mr7FgRYUlgKsLtX8uWHAyNqC7Ql4Q/0e4s2b3 8vhDxi4sLvmvSMIZsjds6C9bnNX2LEhpmhIG1tXq9pNkcfA8zTdRG6QEcw+sArPviHcJ+Q 5UkWlS629sdcSQ/IxTWIQhNx3C5C5HzPyw7MpMdtVpqY+f6yZA7NQtOhQ2rd02xCELrZhD p4mI94cUHKlMzCqaiCZjUnU/e/w3X1guZgoVbx+7r7LBD3lJ6LNWF2RJ4+x4hQ8GoKuzSp a5bD3WMoVH4zKS46E4cwpcAP3JUWNvIrD0ql0r6lxi5/GdMqGNzTN4s47Kcjfw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C8E424C73; Wed, 6 Apr 2022 23:45:59 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 236Njx7g008643; Wed, 6 Apr 2022 23:45:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236Njx3K008642; Wed, 6 Apr 2022 23:45:59 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:45:59 GMT Message-Id: <202204062345.236Njx3K008642@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 546629073d4e - main - cmi: Mark rsp as unused. List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 546629073d4e40947a0b169a8d759d9bb12fb732 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288759; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VlwDBjCv/rEFn4tbePWji4pMzwIxihPBpx91+8au6Yk=; b=YhMNNOMBZTdszuQKMvj531B7ULEjJcvUd30dyA27/2ka6AyNuaZdhdkPdZmnxlSklUzABh +QHx8F1BXcx6+NnQC3yBKMfgs0g9/ACXvPl7ywtsiBcTvFNttxurmqOpNmSLWKwWaOE/6p JFd2QBX3yaX1+7TuADL3G0/92MN+p+GlcExJEC0YGBdAV2GwU0+Fzemh2KuEeMzD3hb1AK ip97CPua+3noTjDMSxENRagbTfvR5r7QnBuRE3+H03QirLZTZdVR8RT6OII0IQZ56TJmeI Vi7rSRjG/98UFudH64VFkUwA514vPfAAxe7ohPgZhMWtMAwpTil0ozBH8pPh6g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288759; a=rsa-sha256; cv=none; b=HdVzjH0T03OT7IxfD76MUaM9ab8KcaIdVN7Sm+CtGFCcIgsfEBI1MZH4lqdZ4WEww2yDyW BRLil09hfUMGrnJhChBfkGMgZku8lFMNJiuL8pR3jvF/y+jg3f2zdfDVkDfG5ARe9MdUOK l1MzB+BebB6I49dQ88zrCOM6xSOBEzUBHmu7L42Z7h6HldzJ9FF47C4mbAAHIaHG5gb2KV NuZuglKhJID1GK3byVez2atR2nSUASbM+oLZ5BbhFT7EiKX1tK01KO5Qk5xCIomEPdtFr9 omSMrcSoQZRzFBO5rqkRN4HuKp5WQu3oY6U/bqwJAlvGaB9id5ynsjdDCIh70g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=546629073d4e40947a0b169a8d759d9bb12fb732 commit 546629073d4e40947a0b169a8d759d9bb12fb732 Author: John Baldwin AuthorDate: 2022-04-06 23:45:27 +0000 Commit: John Baldwin 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);