From nobody Sat Apr 09 00:27:44 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 512551AAB8AC; Sat, 9 Apr 2022 00:27:44 +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 4KZwtm1n3Hz3pB6; Sat, 9 Apr 2022 00:27:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464064; 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=bY//hHplZohUIqFR/9y00r7jM0HpnKSacKS1psWV+s4=; b=pOA4HcGQMoOdJfPc9KEFkddf7o0/wJRw+QycyKCK+wUaBw+DoWpJMcV/3sba9LU757VbM9 z4T4/bWrWti104FNUHkmw0fdqK2pGYOchWKPeAB5B1jh0w7ZnnVIm9WJnarygrQJfAZA9c EzYCVV+BsM6hoTCMh6VunlUKdsmPVMbcg54yrELKmAjFNkA60NFZCh+kE3QvVO7wTsadJw kVeBrej3imW0+Zy4jl5dYsMEybfk/rNG2jVCLDSxsg3ggLbpdebpTETPlm6NeRuw6eA5hh 4K7Jb3vx9bAC/oO0NhVfo1AJg4VH+ZOlXMpWdlK9dHgthSuSgPxM3Jl8JE1Jkg== 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 1C4997566; Sat, 9 Apr 2022 00:27:44 +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 2390RihW056371; Sat, 9 Apr 2022 00:27:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2390RiXu056370; Sat, 9 Apr 2022 00:27:44 GMT (envelope-from git) Date: Sat, 9 Apr 2022 00:27:44 GMT Message-Id: <202204090027.2390RiXu056370@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: 516243545e72 - main - mlx4: Remove a variable only used in commented-out code. 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: 516243545e72684b2281b1a8c14b2870a306f6d1 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649464064; 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=bY//hHplZohUIqFR/9y00r7jM0HpnKSacKS1psWV+s4=; b=XvF1+m5rLsv3NrFqEFJi4QcQFpEHAuPxX1MEfZ/Z0PSAzHOwmLUupbNGZuIRzUeKzyV59Z 6R45RVcOdmVDzFq5Bmi/xRWhPRQHgiDpPMC3DchzB/C3IPUEpOxcaAWRQ4TAgDFNE5REvJ UfWpZkK2Fk+Mgyxh1mmqjWuj0P8FhPbpfV7S1R/OwrUR57sK85iYx/OFVjH7q3d8nDRYPI psuvM0hd3/T/GAhAm57qNijLz2qRgU6bOeNuuv3yZY0KSZHhURo2IezCfH+OXwFbxVTS3+ LrGLNG8xpUBnYMFl39vjtpoeo90Yj+utb0VknS0CdppLoCW3URHdu4KbvlcL9A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649464064; a=rsa-sha256; cv=none; b=U/PXXp12cbSoWNLXgjvHj5xSh7TeWVge2t62mGzk7NLNJNiWbLKEDRe7nvEh8z15r5GVE6 Et4w99k7k9IV2Qxd/7khhsmFAX63mBelYERWIaprDcAUbLJXY7JhcvcUG4iyGpbqqoR21K jtkQdYmHXOlZ1FmWmM718FHTr+pYt3cohBYzmYRFLxDkYqwOGiGbe1ZZHg636poAr7QaQ1 2T98KePiSDqsxQLQ5hLNufFJdnbTqvvOptgo9T0GeCHc3qzRvahfuyDinmnBRZSNqkJnli vtjYVsSZEhWtT90lv7eixHYr1+NnkzS5z+VnfSC80jAfK06HKfccIJyojg4vyg== 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=516243545e72684b2281b1a8c14b2870a306f6d1 commit 516243545e72684b2281b1a8c14b2870a306f6d1 Author: John Baldwin AuthorDate: 2022-04-09 00:25:13 +0000 Commit: John Baldwin CommitDate: 2022-04-09 00:25:13 +0000 mlx4: Remove a variable only used in commented-out code. Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D34825 --- sys/dev/mlx4/mlx4_core/mlx4_eq.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sys/dev/mlx4/mlx4_core/mlx4_eq.c b/sys/dev/mlx4/mlx4_core/mlx4_eq.c index dc23a7afb712..8a259f87861e 100644 --- a/sys/dev/mlx4/mlx4_core/mlx4_eq.c +++ b/sys/dev/mlx4/mlx4_core/mlx4_eq.c @@ -501,7 +501,6 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) int i; enum slave_port_gen_event gen_event; unsigned long flags; - struct mlx4_vport_state *s_info; int eqe_size = dev->caps.eqe_size; while ((eqe = next_eqe_sw(eq, dev->caps.eqe_factor, eqe_size))) { @@ -611,7 +610,6 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) continue; mlx4_dbg(dev, "%s: Sending MLX4_PORT_CHANGE_SUBTYPE_DOWN to slave: %d, port:%d\n", __func__, i, port); - s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; if (0 /*IFLA_VF_LINK_STATE_AUTO == s_info->link_state*/) { eqe->event.port_change.port = cpu_to_be32( @@ -652,7 +650,6 @@ static int mlx4_eq_int(struct mlx4_dev *dev, struct mlx4_eq *eq) continue; if (i == mlx4_master_func_num(dev)) continue; - s_info = &priv->mfunc.master.vf_oper[i].vport[port].state; if (0 /*IFLA_VF_LINK_STATE_AUTO == s_info->link_state*/) { eqe->event.port_change.port = cpu_to_be32(