From nobody Thu Sep 10 14:43:02 2026 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 4hggQH211Fz6s9ty for ; Thu, 10 Sep 2026 14:43:03 +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 4hggQH0Kxhz4ZHT for ; Thu, 10 Sep 2026 14:43:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789051383; 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=HTl7RB8XWWKrbUJCv6tnF+gRUbwnyV53zVmvnF9egas=; b=RtieLZ3WctiZySIO9FhZHUd9C5j4fRU6VBg1SOvfWzdNElx9M6I6fWV647NUuX1fx3e+rB ioz+zYl2GWOYTlLAPHj8/Q/nOZ5EXLeUv5SQRMZkgTf3Oah2+eRFq2hPr5JQy97gvy8T1M KF3Fs3OvQF/Ggn1cj1fkiQQVp4oxg+4ZZwu+0GBSKIjVVzpO+X+u6HQqYhOb5Qdh5Kyiw1 0yfOlRTUxABJcSjSfpCsLfYhRTA6xHXZwQBOUfv55rWaXkkjEZxtJQs4d0VqAKj5C07TQl zk7ZbLcza/8A0czDFxYt5vsAvCnhEgfUQ+SY8R2+zRdoyWG7h8Q8LESpCncO9w== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1789051383; b=pWK7/WYWpdf7PS+5LalhB7/8q6s4uYk2DDz86XW/z/bm3MSQvWqR3mf35b81ylzRlzLPWO v6jFqaN8m9yJNB0RprxBpQs6err4Qzop0TfG3K5y7hUe8EGXulvVSSpSO8DPZWK/0moY8g fBs0jko780OxzH1aQoVr1M/aSIauVOfrnz9FOnpqQ6XxamKxuVB8GimWYPfsvDCMpR/+Wa OiW/c9DCdXrRl0vbgszeRmlExjzhmbeex4RPQd+Gmy3FmteoJAMOmpIWcJHrkbF3AEZj4g R2qXajzQcZvW7Fn1NIwxq4TQN9cy0JEJ1oO1JkBIu0gHbjrTswWMZzdNJSiWyA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1789051383; 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=HTl7RB8XWWKrbUJCv6tnF+gRUbwnyV53zVmvnF9egas=; b=C1rpAvKlpyxTO6YKYqVhD03uCeDOD+41T3vP1mhJa014FUbZM2CqgfA9u1rc8CQ5RELHTi IMIHP+FWJhH4zizNGjezL1zgS16kLt9XkBOdeb/c0zSF5sK39U+L20AhZAFzlIEQINs9MT zsGMJzqFlUNlxc8cVmagSNV3WUbxJMJq5C6JzF7XIKLY3SsJyXW9TCvF8SxjkB/pWNnc7F +UD5wdyE5INnywiTBQgy3w8g2WtClknJw6QZaC65okJj89xdwqehoG7kFwdukSSbHlDb60 ikrD0fkP/FSjeU3bwZYhsswgcElzB6TYvu03FSZqWx4skzG9WBrIstXA6GREfQ== 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 4hggQG6WVVzXJY for ; Thu, 10 Sep 2026 14:43:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 2670d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 10 Sep 2026 14:43:02 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Siva Mahadevan Subject: git: e1a1206245be - main - sbin/ifconfig: remove unused static function parameter 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: e1a1206245be0db252d52f4b090c62a002fc1cc5 Auto-Submitted: auto-generated Date: Thu, 10 Sep 2026 14:43:02 +0000 Message-Id: <6aa2c1f6.2670d.6c0261e3@gitrepo.freebsd.org> The branch main has been updated by siva: URL: https://cgit.FreeBSD.org/src/commit/?id=e1a1206245be0db252d52f4b090c62a002fc1cc5 commit e1a1206245be0db252d52f4b090c62a002fc1cc5 Author: Siva Mahadevan AuthorDate: 2026-09-10 14:39:37 +0000 Commit: Siva Mahadevan CommitDate: 2026-09-10 14:39:37 +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 --- 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 e73dcc2c4f24..d8af92198379 100644 --- a/sbin/ifconfig/ifieee80211.c +++ b/sbin/ifconfig/ifieee80211.c @@ -3384,7 +3384,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; @@ -3392,7 +3392,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); @@ -3952,7 +3952,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);