From nobody Thu Dec 09 17:45:36 2021 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 0A4B218E1A56; Thu, 9 Dec 2021 17:45:37 +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 4J91f85S37z3MgY; Thu, 9 Dec 2021 17:45:36 +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 9BCDB2E4A; Thu, 9 Dec 2021 17:45:36 +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 1B9Hja8C052084; Thu, 9 Dec 2021 17:45:36 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1B9HjaWE052083; Thu, 9 Dec 2021 17:45:36 GMT (envelope-from git) Date: Thu, 9 Dec 2021 17:45:36 GMT Message-Id: <202112091745.1B9HjaWE052083@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: a521105980e5 - main - fxp: plug set-but-not-used vars 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a521105980e57b4ebab5a9da72a570bbcfafa66e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639071936; 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=euz92jIzUHPK1tCSCQBvRMOEHOfzOSrocqnqNrL9wvk=; b=QyhPKnzWRtWEuqLTcLd3saOJy3ZNZ9nfIUfjZE/vucr/WJcCc7f0JKamndKPqUQIEItxAO E7Vg8ZRzv6ML7jy5drFJrH+KJU+RakunJocCsC+/g93bS3ARetFdKW4sF1bfzdPyVzNFxl UwmQmy8AxkKoYvjXf1aTGZfAJkv32TI3ixN0JEG4sWqme8afkOoCxjy5HlpElE+n14AqTD whwvmmRB30L7iVTC6BZ4QZExeKzWXdzxKANEI8AqDf1wKWtzBtWevqJt+/IF/mK7+7lsqV aDa7oW39V+K3AJIBtBJ7L22JRGl05d1udebUS/53FkApBF1CWUFoLVLMQXCBCA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639071936; a=rsa-sha256; cv=none; b=KSOW1Lgipt8USMec2RJKKGFdqrnontFKilTo5qNUn/Foy2yRnP+pONXHVNHhHX0jQc+Oc1 BYqRD1i9s1OTA9C0PLY8rC25SapQFFxFJaftM9M7WvAH4zH21UVehvNsEAUHmF4lrtM3w0 I1Uw3UVQ3vNAInF40VoL9/8naFl2/moeOvCvc9r1ddVARMK69v+oO2CR+ILm8NLe/SaTTS KUGLcKNMYsMVicQfsIer3uoHOT0SZAEpGg4WiTJpoZXsY6UiiNiJzjObUKaWjUby0mM7Rp L4cK61nz/f9Rxu3qIblPkAdy6kZoXF2XnWJgrSeciNZcox9rpNceMeYPp9d8kw== 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=a521105980e57b4ebab5a9da72a570bbcfafa66e commit a521105980e57b4ebab5a9da72a570bbcfafa66e Author: Mateusz Guzik AuthorDate: 2021-12-09 17:45:12 +0000 Commit: Mateusz Guzik CommitDate: 2021-12-09 17:45:12 +0000 fxp: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/fxp/if_fxp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c index d89d19632a9a..ae2f522ad44c 100644 --- a/sys/dev/fxp/if_fxp.c +++ b/sys/dev/fxp/if_fxp.c @@ -1408,7 +1408,6 @@ fxp_start_body(if_t ifp) static int fxp_encap(struct fxp_softc *sc, struct mbuf **m_head) { - if_t ifp; struct mbuf *m; struct fxp_tx *txp; struct fxp_cb_tx *cbp; @@ -1417,7 +1416,6 @@ fxp_encap(struct fxp_softc *sc, struct mbuf **m_head) int error, i, nseg, tcp_payload; FXP_LOCK_ASSERT(sc, MA_OWNED); - ifp = sc->ifp; tcp_payload = 0; tcp = NULL;