From nobody Tue Apr 05 19:55:55 2022 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 092FB1A92E6A; Tue, 5 Apr 2022 19:55:56 +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 4KXz0W6qSgz4Xlq; Tue, 5 Apr 2022 19:55:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649188556; 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=K4Q5Xp2rpETtvxLUeIkS1zkKOYIuS2kpbdn6iM6+zhE=; b=NAvIYaOku5pn5MJQk85JGE9+H7OjTQKSscJR76QoXUXeqYmO5RFoVp6VpxlR3ZHqcude8D VPoDrmB2Ig/6f9fmw+oSWfojNzyanHLwmPHG7OFz1KJiRDqDknUmgOH+fW2k1y4u/cTDfg 8jFHbTjzJU3dRfv/K5RmnKqU+HYcaYiZaBg1HQm8aTyay1aV0rtcdj9F3rxC08A1bvIMFp w9Yn820mVT9IZz/k/96LKckqaZinfDrOJ+IkrarTuDW/p1cHAS8z5FWIcM3y2ML+qQAe1S PML8YSXYAM7+0mYxja23bEO/SGtmaBGVA5FEGU7HFoCcpK2r5weVwZxqs0ccxw== 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 C9F894F4A; Tue, 5 Apr 2022 19:55:55 +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 235Jttp9052383; Tue, 5 Apr 2022 19:55:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 235JttrD052382; Tue, 5 Apr 2022 19:55:55 GMT (envelope-from git) Date: Tue, 5 Apr 2022 19:55:55 GMT Message-Id: <202204051955.235JttrD052382@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: cbf7b9e6eeb6 - main - bce: Mark a few debugging variables as unused. 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: cbf7b9e6eeb696c2c158b788a0f364dcb1082422 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649188556; 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=K4Q5Xp2rpETtvxLUeIkS1zkKOYIuS2kpbdn6iM6+zhE=; b=Evp0Jpn0kdhCqrd3tfd1nCchoCHR+764zrlvA/SrPsCLcpfQDXwXK/W30mHTHgQGajAInd cq0vkgsyB0VzUfKjlgDYB3AsiKS6GB+Agz9ly0pVtmODts5mA21f4uoBVBm0o1E1pmF/gX OXoEUVuyWbvGaXC1V/edd8WFZi9J96J3I23GTxePDWp728UiL/VCykG0Nh/wgP1TasF2TT 9mWPFCH67rI2OYOhTEyDeEJdkhNLXF4pDde7l77bUlWOjSSvcbqBTrRvoopSYBu/KrcLXl ogZSx9YrVrxuBh9roUXETO8l29lQKm/6yKYjl3hcMgizm4wORDNv6IUB068toA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649188556; a=rsa-sha256; cv=none; b=TDBk4pW3EsANpciPXvXuqHIzj/p3D17SXZGNrZqltVydfC9ZFjlIlyab8TZr7huX6YKXTa 6NO5ePSwFcsaqeUx6muJgPHCa4DlhALM2IrViTR90vLuxJsC/zEuHg04hO6veXaJO3eZXo /VqwS7fREiyI3ubZu3Tqm8BA1SLoArbl/uutsPJKyy02XxHyGTpBYsAYfCr/Ru4pCCc6Mv VWyCbEc/irkSlaqrzFdReXOj7p/rNviXkF8Ui73+rdAdBua4NIUYmS319Gztjeeu/22GuY hdYtYFClyy5tIVFZKqRo5GxZu9ttInYX/p30RofRjDYA/EGrsH69UnCbdKwTCg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=cbf7b9e6eeb696c2c158b788a0f364dcb1082422 commit cbf7b9e6eeb696c2c158b788a0f364dcb1082422 Author: Warner Losh AuthorDate: 2022-04-05 19:03:41 +0000 Commit: Warner Losh CommitDate: 2022-04-05 19:52:54 +0000 bce: Mark a few debugging variables as unused. Sponsored by: Netflix --- sys/dev/bce/if_bce.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/dev/bce/if_bce.c b/sys/dev/bce/if_bce.c index a01c2ea1bbd3..da1f7a38fdd6 100644 --- a/sys/dev/bce/if_bce.c +++ b/sys/dev/bce/if_bce.c @@ -7119,10 +7119,11 @@ bce_tso_setup(struct bce_softc *sc, struct mbuf **m_head, u16 *flags) struct ip *ip; struct tcphdr *th; u16 etype; - int hdr_len, ip_hlen = 0, tcp_hlen = 0, ip_len = 0; + int hdr_len __unused, ip_len __unused, ip_hlen = 0, tcp_hlen = 0; DBRUN(sc->tso_frames_requested++); + ip_len = 0; /* Controller may modify mbuf chains. */ if (M_WRITABLE(*m_head) == 0) { m = m_dup(*m_head, M_NOWAIT); @@ -7431,7 +7432,7 @@ bce_start_locked(struct ifnet *ifp) struct bce_softc *sc = ifp->if_softc; struct mbuf *m_head = NULL; int count = 0; - u16 tx_prod, tx_chain_prod; + u16 tx_prod, tx_chain_prod __unused; DBENTER(BCE_VERBOSE_SEND | BCE_VERBOSE_CTX);