From nobody Tue Dec 14 14:08:41 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 5741B18E8739; Tue, 14 Dec 2021 14:08:42 +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 4JD0bZ0VJWz4jpT; Tue, 14 Dec 2021 14:08:42 +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 E1569155B; Tue, 14 Dec 2021 14:08:41 +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 1BEE8fqE080482; Tue, 14 Dec 2021 14:08:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BEE8fCg080481; Tue, 14 Dec 2021 14:08:41 GMT (envelope-from git) Date: Tue, 14 Dec 2021 14:08:41 GMT Message-Id: <202112141408.1BEE8fCg080481@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: 2b0d3ee9ecf9 - main - sk: plug set-but-not-used 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: 2b0d3ee9ecf9b92ac0dc4155cadf048a30c1ee01 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639490922; 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=prFZM2qqOReKSpEUGjvI/8SOQQxEtpO1LIz4BHeQhQc=; b=JxNAiQIuQ2bzukyDiJefZD6bjp7Zc+qRrK8HiCHuiJN2U7N5NqaxZ6Cab31OjvKtafVZT1 adzNZSb5mEeL5CDoselbsYIzOKycDyXcqX0+79POq024LKCXPWZKLQaQx29gOGw8bpNPLm 7e1JULCKBHRNaqArFPRQGIww+AWKFnQemD/rDRHcYPCO8dqdBP/CPCjPGG5UmoY0XeXqfs kgEUWD9Gt3D0HU4DWQdEPRHDGEsdsI8MuPZ7a4e8GMq6yswqK6mxScEQJJzoRoESb4w4kx t0hpU3lxJczlwAJTC4KFKNcqu6rhGut1n4HK+nM7gQyfrEWn7JxaaiSbHk37PA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639490922; a=rsa-sha256; cv=none; b=ESXylgv/aOjZOI99X5A6Sauw40XVHNiGn3lsoJ8zdprvPoR+jjdgvbxSJZBa+8WzbNvT50 /VTvOcRRT+GwaS8jQGVfR+S7X8/HYfg6C6EdWBk7waC0UxBWWvJRSyWG6Dvs7Gn4KOMI5R nSqmX9adpOIYlXRYX4xYlfsnbCYn3RRh2sYkYBx3k939a2je+k9b/Uu2lKgZ08hhnIl4KI dFYggLclAgUhSmn64r0uDVAjeKr84AAfU5wc0ztsPFuwiQ7jNf8EPyJnr0L3mggN31fXPZ TUWGTWnx7CVp7w337GnISxgihVsMPS2UQJfWcvxknC9sMIs+venDZ3O9tSf/0Q== 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=2b0d3ee9ecf9b92ac0dc4155cadf048a30c1ee01 commit 2b0d3ee9ecf9b92ac0dc4155cadf048a30c1ee01 Author: Mateusz Guzik AuthorDate: 2021-12-14 14:03:56 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-14 14:08:17 +0000 sk: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/sk/if_sk.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sk/if_sk.c b/sys/dev/sk/if_sk.c index 809cfa6f9e14..1a34b4522d3c 100644 --- a/sys/dev/sk/if_sk.c +++ b/sys/dev/sk/if_sk.c @@ -3036,10 +3036,8 @@ static void sk_intr_xmac(sc_if) struct sk_if_softc *sc_if; { - struct sk_softc *sc; u_int16_t status; - sc = sc_if->sk_softc; status = SK_XM_READ_2(sc_if, XM_ISR); /*