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
This commit is contained in:
Siva Mahadevan committed 2026-09-10 10:39:37 -04:00
1 parent c65c63cf51
commit e1a1206245
1 file changed
+3 -3
+3 -3
View File
@@ -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);