From nobody Mon Sep 14 14:21:49 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 4hk6lx61FCz6sdlj for ; Mon, 14 Sep 2026 14:21:49 +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 4hk6lx2xPBz4P8m for ; Mon, 14 Sep 2026 14:21:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789395709; 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=2N5SynB9shEGOntqwjLC3OMmRblgXDiQ+O+Dj1kkC7o=; b=aMS5Fyys4nAAWZj/kLd0BBSghOUBm//h3DqgWzSpLlYgnrMEvZUQ7zboygZIJrBnCHphVV 34GV9tZ4dmROMMxoxuI5nwnK6XGmZGXK3L1BfWNxHHWtF/gXRYSQM8g6y5sCSyJ+jytW1J Sm+bYkouz+vAQaMfL80Vtb4kJsVA7nJZEioLb7sSurZCaKYbML0qQt3Hfa5UWL4SWbqq7R FmhlZZ8MsHlWKhYuALx5N/a/Fz+czOG/itSUFK46WzwKnIkVihAbqgGDfkHoZc5VVCLSJJ FQixfDeOJOzOjLPrt+hYxbNtXWp3IqiPutLj6LJuY9NP40nPWxPVCKCjT95g0A== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789395709; b=reC5RfBHhKiKI5qqK2sMBWJzFRpAHepCSEukOdM4RXQKUW7qbuIjhuSKzBsDZ8pSe5ZfVr 0EfrNHnaZMtvZI0guWdmR3QOKHUKOiD1fEUPF2o6H0gBt1deJq0w2mR9yc0tA1bLpxlzaV SDkFhvJguK3VyR/i3KAwBfyJZICnY5SP6PaS9e60DU3GiWZQ0jbyBkF9K9uiI32PTFIBbH S0Zwwv60hbH1f+IQiiXuLPd2t5d2HZBo/pCe+xx2LObPgnr2rN3jmo4fF1g7ErLS+yRZkJ NboSjEur8T8MPV8ojhhisVn/lhJO6NfbrEwLk5b8vdLPx3Y8EJ9rB6XjIc9gQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789395709; 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=2N5SynB9shEGOntqwjLC3OMmRblgXDiQ+O+Dj1kkC7o=; b=Sh487z1PzpsMASkFBqp6OnRf7cSFQIP01yAIRnBD1UWbLpOeQ5kdxH/+hhpFTGh5Eivzda yI/VAC5TcyAx6Bq4nU/7NKVpvu+GAWB1umTnREUjmwgA3F+8T7gAxL59XQuP7YekhOF3bb TaLnTp2fbu1gVOXUM/qjH9UnQyPGrbhBc5sM7RxXK87DpZ0xlVncrJCcG2DJWbhLNa/6uZ 6iR51tw/KRW0aURshPC3jShNJvsWW0z7f4CWAI8+qE3bo7vt1Cy5zf0VMLr55och+rjH6K WA199bvOIOmPrNJbFMKphbK5EvmIqt4cuwABzB+y4P9hMxlO1V/kMNZpA0SV2w== 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 4hk6lx20tvzGcl for ; Mon, 14 Sep 2026 14:21:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 328ab by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 14:21:49 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Siva Mahadevan Subject: git: bdc24098d977 - stable/15 - 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/15 X-Git-Reftype: branch X-Git-Commit: bdc24098d97786ff6ae22dee20ae49a8bce7a01e Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 14:21:49 +0000 Message-Id: <6aa802fd.328ab.ef946c@gitrepo.freebsd.org> The branch stable/15 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=bdc24098d97786ff6ae22dee20ae49a8bce7a01e commit bdc24098d97786ff6ae22dee20ae49a8bce7a01e Author: Siva Mahadevan AuthorDate: 2026-09-10 14:38:19 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-14 14:02:36 +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 258650e127d2..d9aaf8f8b876 100644 --- a/sys/net/iflib.c +++ b/sys/net/iflib.c @@ -5927,7 +5927,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; @@ -5967,7 +5967,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, @@ -6022,7 +6022,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);