From nobody Fri Dec 10 11:49:01 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 8074218E6A07; Fri, 10 Dec 2021 11:49:02 +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 4J9ThG1mmQz3jwW; Fri, 10 Dec 2021 11:49:02 +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 18C0D19D1E; Fri, 10 Dec 2021 11:49:02 +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 1BABn1rk002286; Fri, 10 Dec 2021 11:49:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BABn1ko002285; Fri, 10 Dec 2021 11:49:01 GMT (envelope-from git) Date: Fri, 10 Dec 2021 11:49:01 GMT Message-Id: <202112101149.1BABn1ko002285@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 7bc6619013d9 - main - alc: plug set-but-not-unused vars 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bc6619013d935382d4abe8cfe5ff145af9550bb Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639136942; 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=RRRdwpBRY+i6K61L10DcTvH0Xb4CPXUSt6683YY2xe8=; b=pGyMfZ+Cp1JEGlsp7MAZ9DqCD9BPJAx4CpHg6VFOj9h9ocN0wNcTyffn3ANbTZnSqtmPSQ BwhtAqTEHtrRJwU3As15jBvyNTPVt9Gjunsj92b9cS3nAUJUR2wBwUu0au25Uf0Lm/cpqV O47CUWI2D+NONhAzVdyNdnHOS7ZsSZ6xV/EpcmXfTCWpG8KRgPp4j2RXyEJoFUOEZ15hQp 8ouD/LB485NqRBQGyJogl5tawUWRGFspmxJlUOLM8aEwY6Titv2ydN39WMNmLnetI7P77Z DhOSiZhkH8l4Af5VVGMGdiviN80fvrMk8h14wRwaGWI8v+7fJJ+U8GfnoRCuAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639136942; a=rsa-sha256; cv=none; b=QK3usDIIafyA33PEcjnFigk4S1rYAyyIc2+nTsde2Fxt1T+4BPnudRw0edxkTZUBFr7HcY GoyL1o9mgraSqyHulYpCpMUO1Z0EC3/dHeBwH7P02gf2Z0tuLSQ6GmsfUuvDqYCb5Zaemo QbHfFqCKA03+BdGLSa6DDmcyfD3iJcPo/peixYM3sp7hYEsni5x/4srsbtRpOwZAcE/U1a KeLX/RXM6wob6TkvE4kQw6px+2K/M4xFPXlGjfFiUe9CblZUjuNEwNuNxjiaDAZRhBuZiu BuxYH0Mefd1SdOqPqLEGA5sQWjJtC1+sX/I/s84CbIkACeoIV88U4Z/C3h7Pjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=7bc6619013d935382d4abe8cfe5ff145af9550bb commit 7bc6619013d935382d4abe8cfe5ff145af9550bb Author: Mateusz Guzik AuthorDate: 2021-12-10 11:48:42 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-10 11:48:42 +0000 alc: plug set-but-not-unused vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/alc/if_alc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/alc/if_alc.c b/sys/dev/alc/if_alc.c index bedbd20c1f04..7a11c3bea9db 100644 --- a/sys/dev/alc/if_alc.c +++ b/sys/dev/alc/if_alc.c @@ -4674,7 +4674,7 @@ sysctl_hw_alc_int_mod(SYSCTL_HANDLER_ARGS) static void alc_debugnet_init(struct ifnet *ifp, int *nrxr, int *ncl, int *clsize) { - struct alc_softc *sc; + struct alc_softc *sc __diagused; sc = if_getsoftc(ifp); KASSERT(sc->alc_buf_size <= MCLBYTES, ("incorrect cluster size"));