From nobody Wed Apr 06 23:46:18 2022 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 719FD1A83CD4; Wed, 6 Apr 2022 23:46:19 +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 4KYh3v1MVzz4QtV; Wed, 6 Apr 2022 23:46:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288779; 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=ov83o+aMaOUCzWNetHewj2m+yV6SchNaT3tWtbRl8/I=; b=hYO0zHE+9UHcjKUFA4z+RKfFLmUQr3slb1xxASbNna4daYZHmPMdMooI57ET8SurnZl80Q Kt5Bqt/MlVZKusanozVr5N0ug1nWuZVpBylv/ZrVOCtte/b9CSplXpCsPjYFmGy5apfdcK uRNMLlNu7yx57hqrOPXMIZfrIXQkWrKF4ieAXnIRuBDMjTO2nIGK8LKmubn2zYxksIqoQM g9qGMIiiM4Zkg30gf763q5dBkVNtWVBirgsuu8O0qS7HNU8hKgYoHbCdg5M14Q5Msq7Vzr PGDjEUaG2OXhxikhQ0IzLWI5mQyUDd/ukMrpQpz2XGvrkCirap8sm/jcGS7gqg== 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 058ED24DF4; Wed, 6 Apr 2022 23:46:19 +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 236NkI17009071; Wed, 6 Apr 2022 23:46:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 236NkIGR009070; Wed, 6 Apr 2022 23:46:18 GMT (envelope-from git) Date: Wed, 6 Apr 2022 23:46:18 GMT Message-Id: <202204062346.236NkIGR009070@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: c0a1391aa608 - main - ixl: Remove unused variables. 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: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c0a1391aa608d87d4ae5875ef93bf75239a45d3b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649288779; 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=ov83o+aMaOUCzWNetHewj2m+yV6SchNaT3tWtbRl8/I=; b=PX8yYewJbAq0L00tf43KYoMEiBRa+b0OVcmAhjJWCech8K0QZEJnIHvkzB3KJjPJ5Kmdch YrDQQyo1FhWcsu9b+ewipniyxz9yBLNqpGUafiYv6rICANRmvKw/1Awu1qUxjAGPANVNxb HirJJ+/WuaZ8n3Rxi9fv8/Sqp05wgUnZj98257tMN6XG2bpH5d5UNLM98P6HpdVw3Pp50b rg4IzLkg/pWdCPgEjSOQ1VPzzqbmapEdXXhirjlFPPDL2O9zpadDI++ySlu/2DXogWy4NK ZFJnn615IZw7hwPDxnWZV1ZQLbloqyz83DSWNa8n5R8aEgcSyoDvgmrrA8zdpQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649288779; a=rsa-sha256; cv=none; b=WotQZVDaRovNkTgZfuXV59kJJ/MITFuro2w++10WQXTivcep+piGAeDNGpTtrSWw0u2xS2 Lny+5UStmSn4QtcK2C51xNT285xoNOgmojZCn1K159YHg2vx3rj6CVpviKk+XEEtRUAtgE w2PdnXZ1Ij/JX7M/8QN3DhEpYje05V46GILByqdz7VG4hMGccbTOpwX1rH+/RKHzhuw4dP Bgo2CNmBUV6lpc1/4X0mEeHg1LM5I7i+4j3hkG0CUsd+qaw7yZMQ0hiyKvkBptCFvkBiND zZ1cwWQvKiAxgO1YNt8jFfPXZAycB9Nf/eAPExUKclT4xS4gEsFZZZlyCKhIrg== 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=c0a1391aa608d87d4ae5875ef93bf75239a45d3b commit c0a1391aa608d87d4ae5875ef93bf75239a45d3b Author: John Baldwin AuthorDate: 2022-04-06 23:45:28 +0000 Commit: John Baldwin CommitDate: 2022-04-06 23:45:28 +0000 ixl: Remove unused variables. --- sys/dev/ixl/ixl_pf_iov.c | 6 ------ sys/dev/ixl/ixl_pf_main.c | 2 -- 2 files changed, 8 deletions(-) diff --git a/sys/dev/ixl/ixl_pf_iov.c b/sys/dev/ixl/ixl_pf_iov.c index c3cf90d1c4b5..bcfe5e8d5290 100644 --- a/sys/dev/ixl/ixl_pf_iov.c +++ b/sys/dev/ixl/ixl_pf_iov.c @@ -126,13 +126,11 @@ ixl_vf_alloc_vsi(struct ixl_pf *pf, struct ixl_vf *vf) { device_t dev; struct i40e_hw *hw; - struct ixl_vsi *vsi; struct i40e_vsi_context vsi_ctx; int i; enum i40e_status_code code; hw = &pf->hw; - vsi = &pf->vsi; dev = pf->dev; vsi_ctx.pf_num = hw->pf_id; @@ -1704,14 +1702,10 @@ ixl_if_iov_uninit(if_ctx_t ctx) { struct ixl_pf *pf = iflib_get_softc(ctx); struct i40e_hw *hw; - struct ixl_vsi *vsi; - struct ifnet *ifp; struct ixl_vf *vfs; int i, num_vfs; hw = &pf->hw; - vsi = &pf->vsi; - ifp = vsi->ifp; for (i = 0; i < pf->num_vfs; i++) { if (pf->vfs[i].vsi.seid != 0) diff --git a/sys/dev/ixl/ixl_pf_main.c b/sys/dev/ixl/ixl_pf_main.c index 896da955843a..8b01ec8a718f 100644 --- a/sys/dev/ixl/ixl_pf_main.c +++ b/sys/dev/ixl/ixl_pf_main.c @@ -2190,14 +2190,12 @@ void ixl_update_vsi_stats(struct ixl_vsi *vsi) { struct ixl_pf *pf; - struct ifnet *ifp; struct i40e_eth_stats *es; u64 tx_discards, csum_errs; struct i40e_hw_port_stats *nsd; pf = vsi->back; - ifp = vsi->ifp; es = &vsi->eth_stats; nsd = &pf->stats;