From nobody Mon Sep 14 14:47:26 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 4hk7KV5jpjz6sg9d for ; Mon, 14 Sep 2026 14:47:26 +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 4hk7KV3LnRz4Ykw for ; Mon, 14 Sep 2026 14:47:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397246; 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=p8u9ldhjsLHVsXoc79xsVBP5F7/niX2i/i8z0IOm6do=; b=qEw46zEi+mXGnmC9D8kRElRRW4ZU8pAMStGyPQ0bn4pYQe7td4GT6F8tlWY0gNJUIyJ6Tm NJEBEWoOtwl3hp0gU3SYWkpByvQyibL7zZmSeQvEPbpTaMHrYwK+y2g7teDMmdvO9agjat R0Ozm9GbEhofmjHReOIl3/O3JDB31wtSEhJusZeHPQprgdPeA53Ck7OTewAvu3bwjFBb7X n1cPSBfJIEwihqINl2BmObY+QwKSJ7Nn0V1HqYIFDsagSRq4iRvjP/4VsLUQvQCfPHOswp GX7YxGteppeIgvJkdc2lGX7byHcvcA5L3q3yabDcT0ammJTXYMeYVOesc6eaBA== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789397246; b=eiTeeoIgdypBVD8naQV33ViA8C91vbLth3EP04AH3ehmA52HUhF+OGxK3HNJ2mUfUcjzU8 rSyGKrGThj9NYTGxTuGTZ1cEC3XtioC4DGzB8l6bLF03dk0t+gn32vWiUC1pj4KRuzGInS kUjKqVJq2uZhtDM3JqWjUAWM4iFZIQxixmULhXJZud2dsa2Do24pgz11mSip8izbRbHFrz WWaLY2xunpP0dVlRsTZuL11G73zHRHRgz1V+zlAfteQ9XO6X4LMplcxrgpc/Vg0eeExQ29 YMm2V5+OM/tTg/XeG0TDIRhcS6IwNGSBy0UsCcwlIeBn/issxC8X4bw0i8YM3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789397246; 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=p8u9ldhjsLHVsXoc79xsVBP5F7/niX2i/i8z0IOm6do=; b=px+pDk2Tdt8J/Kx+86eW2aaI6JFUeUl5Gpah4qy6czeZEKd6usdz2lIODdneoOQlqnp0Il 4ThNBSyrR68tQKIB7TdPMbayOBGCTepu8e+mDnp6/pv/f96GMDA84KALIbwIPxJ3QwMt5N /F68KMpWdW6W4DAOBPaBmjhjIAEEb8wjBB74l0XKpcrF4boLp+FgtqY5hhE1xoHDWBlV9i 5B1W6+w3oUYNnCE7OqagjIDLtVMMF43oo3e82hBDRpcPMp+ZzsqCccpgqNmq6Z9gen3yKv RvmSuXaf8VdBgY/S2bYVlSl1TG2PucriANlSrUZVfqxZ1XT7snxFzoTJzJyqAw== 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 4hk7KV2RFPzH7w for ; Mon, 14 Sep 2026 14:47:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 34a8b by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 14 Sep 2026 14:47:26 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Siva Mahadevan Subject: git: d6c48b05c0d0 - stable/14 - sbin/ifconfig: remove unused static function parameter 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: d6c48b05c0d0de49a06dce6954d4190bd41cac38 Auto-Submitted: auto-generated Date: Mon, 14 Sep 2026 14:47:26 +0000 Message-Id: <6aa808fe.34a8b.70c599d3@gitrepo.freebsd.org> The branch stable/14 has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=d6c48b05c0d0de49a06dce6954d4190bd41cac38 commit d6c48b05c0d0de49a06dce6954d4190bd41cac38 Author: Siva Mahadevan AuthorDate: 2026-09-10 14:39:37 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-14 14:32:22 +0000 sbin/ifconfig: remove unused static function parameter 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: glebius MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D59541 (cherry picked from commit e1a1206245be0db252d52f4b090c62a002fc1cc5) --- sbin/ifconfig/ifieee80211.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sbin/ifconfig/ifieee80211.c b/sbin/ifconfig/ifieee80211.c index 6bdb455f1aff..d2ee20d7797c 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -3374,7 +3374,7 @@ printrsnie(if_ctx *ctx, const char *tag, const u_int8_t *ie, size_t ielen) } static void -printrsnxe(if_ctx *ctx, const char *tag, const u_int8_t *ie, size_t ielen) +printrsnxe(if_ctx *ctx, const char *tag, const u_int8_t *ie) { size_t n; @@ -3382,7 +3382,7 @@ printrsnxe(if_ctx *ctx, const char *tag, const u_int8_t *ie, size_t ielen) if (!ctx->args->verbose) return; - ie += 2, ielen -= 2; + ie += 2; n = (*ie & 0x0f); printf("<%zu", n + 1); @@ -3942,7 +3942,7 @@ printies(if_ctx *ctx, const u_int8_t *vp, int ielen, unsigned int maxcols) printapchanrep(ctx, " APCHANREP", vp, 2+vp[1]); break; case IEEE80211_ELEMID_RSN_EXT: - printrsnxe(ctx, " RSNXE", vp, 2+vp[1]); + printrsnxe(ctx, " RSNXE", vp); break; case IEEE80211_ELEMID_EXTFIELD: printexties(ctx, vp, maxcols);