From nobody Sun Dec 05 22:33:23 2021 X-Original-To: dev-commits-src-all@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 5207F18D3A80; Sun, 5 Dec 2021 22:33:24 +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 4J6hD405g3z3qmR; Sun, 5 Dec 2021 22:33:24 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 D8533204A4; Sun, 5 Dec 2021 22:33:23 +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 1B5MXNZA037892; Sun, 5 Dec 2021 22:33:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B5MXNQE037891; Sun, 5 Dec 2021 22:33:23 GMT (envelope-from git) Date: Sun, 5 Dec 2021 22:33:23 GMT Message-Id: <202112052233.1B5MXNQE037891@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Scott Long Subject: git: 95d35d7a0ec5 - main - Fix "set but not used" in kern_cpu.c List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: scottl X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638743604; 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=fiF6NMF6mG79Ekr5hZJCCelfplvo+UnC7vaKbYCy3zs=; b=Y5yJyEJy4nmGFQcHkwHI0QFCsAz3zmPLgFb8CAX39h6w7cffSEiLyJvybZABLwXIfqmivE 2pPuibWYSYzEg5WqZ8DAonXw9opuYqSRkcqyqYlHx390+r8LOfDpsGydmk04i4rFzfMBrh uDsd7XNybYj5j/UDHwX7AmExMt1wP/UQyG2YSE9TLxS4sAWzNPSkAG1u7jTloyxPqmTJz9 gJN9D2YCFhQRo2JkRKLfDqqQcnOWJeclpDBTrdXBK6Hzlj/zhVZzDkA3xnF2sqFeLIaofZ 0Gm6fy8ZEybirsO84g4sY+zBBiCkinpcCvuCMGGPS0Uh6pEKDRCOQznSpwgfRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638743604; a=rsa-sha256; cv=none; b=KXA04I4Zcxy3/oN5KXlea6rZ9VCcOVjhupdskSA9OdtGLoxn9DgVXlFbMS9rP734badDCf clJMSdC5j6AY2BmZspXY5ZyeAw8r37xiODXWSHYV7YU7N3BsojW9NntC9CwUQRUOB2Frn5 JKKqvrVbsql9kp+QApt79zQU6BHJADJlWBXgHwb87s8iZvOclWHlzvTd8BgYfqKLmCZh6b WibtDOdbdm5RID5z6RcawOFulLhlAsslHH2GHzu5gAqG3UxhUZRGU4Iixhm1YbVLVxcI4B LImeKitnSb9H/xAq00PQfE1Gh0+qhY98g6q9neP4xz4EPe2eF8XnlLe2qtT5Tw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by scottl: URL: https://cgit.FreeBSD.org/src/commit/?id=95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 commit 95d35d7a0ec5553700b4fdb0b83c3f40a94a20e8 Author: Scott Long AuthorDate: 2021-12-05 22:33:04 +0000 Commit: Scott Long CommitDate: 2021-12-05 22:33:04 +0000 Fix "set but not used" in kern_cpu.c Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/kern/kern_cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_cpu.c b/sys/kern/kern_cpu.c index 380849974a35..8272f9b4795c 100644 --- a/sys/kern/kern_cpu.c +++ b/sys/kern/kern_cpu.c @@ -1122,7 +1122,7 @@ int cpufreq_unregister(device_t dev) { device_t cf_dev; - struct cpufreq_softc *sc; + struct cpufreq_softc *sc __diagused; /* * If this is the last cpufreq child device, remove the control