From nobody Mon Sep 14 14:47:23 2026 X-Original-To: dev-commits-src-branches@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 4hk7KR5Vl4z6sgRK for ; Mon, 14 Sep 2026 14:47:23 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hk7KR1Txrz4Ybn for ; Mon, 14 Sep 2026 14:47:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397243; 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=R6naBVnhYoRRevTKItqN67zRY5ex8vjpfUp3mfsx7T8=; b=KHwTWHL9A9Po8O3pip2sHAFU5S+flt/MUbEQb+nBeuuzmPKn5VykIn4oqL6S6+a6JmrZ0L U4cUOKeHIM5lTnbrfAPT898FI805y2ItQd8ouRNQPdOuZSHc/SOJdH8ScDmoyWtE4x/C6h ngSJIlfqR/ikleCg2OL+5MtUCwuQVPOteXq4e4H6WCR3CL9m2I3eJ2JNvHQSqZpFH2i6T2 +ZkW29CoOH1d0ndtQOgsLwMk8RjrVmTN8tBbC+hrtk4CWeMvoQyVcLvA7Cy07Ki1lpSRMu e7jKNsU0zhZiOGLgZecpFLZUz5kfVddMfpNNsI0AbwdejIrJRHqhkEeIQyfJKw== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789397243; b=nx/wf00Jf030EWnV2DmToXk0pkFNqhkBxj+4ZfkNRAZj9ydpWOKmEKxA0JmBFBQy40kjuK c2lJ/FkoyQ2qNm/nOj5zWUtSjpMjTSxZTc4I2nZfSnZaZH4vRlQpODaHkpQUN3dEFEJ90I V2hPkeP3e72aWYe5LBIk+Xe6EyP7Yg6RmUu85oxCGGa4SLrBtYXwT/n20LdENAnkVUCAvZ /BVqszEzvKlx8dOU64cIfEwYtya5lZr55Hki6cfqcw7ASbTBi25DQAGHGZTsuEDIguaL6v 4yNwm3XMMKcLrnIJl7MKsADuY66z6tMqaxG9iBGYJcXqELVgIFc+7cmM9W/oHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397243; 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=R6naBVnhYoRRevTKItqN67zRY5ex8vjpfUp3mfsx7T8=; b=EbC60lJv5oqAylCvk7RFD/u7vm0hi2U/M/KDEpiawjdAAmX4zSlWHJSI183SbwNPLCFVlg ijT11ZANJS+Dy6OIkaBWo67mQxbhT5ggWsZZL7bvx7CFM0n72bJK9S/tSrK4A7SIOdUgXg MfFa0NK+FUDw9HYonMtHn4W3Jqr3jS9q9JHbe6JCTS/+aVHjfcYPZHGdAI5m0g7Mi/yMBn Qw+UKVkq2Z9CnVQwVA0OejEkFDwZqYtbbSmK8/1y5A7lQfzUnrugjCq24onl2YyHyPy8KJ PKdyZRRT+LXnb/uXz2IhzQwyqVaAqqf9Ed86TqdWRT7mWyDppNpQ0lqAhdvuOg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4hk7KR0Wm2zHdv for ; Mon, 14 Sep 2026 14:47:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3481d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 14:47:23 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Siva Mahadevan Subject: git: 8aa43e6a6376 - stable/14 - iflib: remove unused variables List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: siva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 8aa43e6a637694ab1bcced006d13fe70fc0c9fd9 Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 14:47:23 +0000 Message-Id: <6aa808fb.3481d.58009f1c@gitrepo.freebsd.org> The branch stable/14 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=8aa43e6a637694ab1bcced006d13fe70fc0c9fd9 commit 8aa43e6a637694ab1bcced006d13fe70fc0c9fd9 Author: Siva Mahadevan AuthorDate: 2026-09-10 14:38:19 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-14 14:32:22 +0000 iflib: remove unused variables This fixes the build with gcc 16 after the changes to -Wunused*[0]. [0] https://gcc.gnu.org/gcc-16/porting_to.html#changes-to-wunused Reviewed by: gallatin MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59544 (cherry picked from commit d1ef616302f185ca9c217a9bfa70509b19136016) --- sys/net/iflib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/net/iflib.c b/sys/net/iflib.c index 912cbc62090a..e90709e84e6f 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -6067,7 +6067,7 @@ iflib_queues_alloc(if_ctx_t ctx) iflib_txq_t txq; iflib_rxq_t rxq; iflib_fl_t fl = NULL; - int i, j, cpu, err, txconf, rxconf; + int i, j, cpu, err; iflib_dma_info_t ifdip; uint32_t *rxqsizes = scctx->isc_rxqsizes; uint32_t *txqsizes = scctx->isc_txqsizes; @@ -6107,7 +6107,7 @@ iflib_queues_alloc(if_ctx_t ctx) /* * XXX handle allocation failure */ - for (txconf = i = 0, cpu = CPU_FIRST(); i < ntxqsets; i++, txconf++, txq++, cpu = CPU_NEXT(cpu)) { + for (i = 0, cpu = CPU_FIRST(); i < ntxqsets; i++, txq++, cpu = CPU_NEXT(cpu)) { /* Set up some basics */ if ((ifdip = malloc(sizeof(struct iflib_dma_info) * ntxqs, @@ -6162,7 +6162,7 @@ iflib_queues_alloc(if_ctx_t ctx) } } - for (rxconf = i = 0; i < nrxqsets; i++, rxconf++, rxq++) { + for (i = 0; i < nrxqsets; i++, rxq++) { /* Set up some basics */ callout_init(&rxq->ifr_watchdog, 1);