From nobody Wed Nov 29 16:38:13 2023 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 4SgQ460CMsz52wx8; Wed, 29 Nov 2023 16:38:14 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SgQ454wp5z3Hfm; Wed, 29 Nov 2023 16:38:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275893; 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=PAzK6oD3+kQmGWn3Trg9gkeYkT+UEe/nocs4qt6Uz7c=; b=H7mZkbWG//2Vqz0ADXjMOUMorMxrnOHvya8ZD/IjyuX5f9LTTgYImGkYOPv1lpT0vE59tB XZaPP3jf+f42QzFJEmKrxbeeiASEuCUjxhaKThdFuY0WiFgwRofZy2sPqr/9Ec43NZYcoP KaEUMsZMk+GeZ07I9dE8mWRnKM5B3/wsWTgr4imSw18DXK3KXPtjq86b/oJSSZ/nDVlGQs 8Kq8E7bNVyHzsNDzM3MblEp3FP3tbAek25vGDQeLN4DYIaegZX72oz9/4J7JNe0CVYucgQ a3T7yDy53nax2DZdzmBwBk977asNr3PtAXx2uWANC/ylZ3eekPGcKJf3790+Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1701275893; 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=PAzK6oD3+kQmGWn3Trg9gkeYkT+UEe/nocs4qt6Uz7c=; b=ic08iKCY060QDHr02ICOlvmruev/DWinCdYcbY3Uu8pxqAZ2DBRjMnaG9WPahb55eI3l4J 9obEogCK7KFJa+Z6rIJF0H10trDUUzNa76KFoQlNV6+6nL5AQ6Maua4TaXwevJ15GbB6uy DsJEkEJgcRSOep7YU4TTycNOJ3RnWEK/aWZ8hu7xymNiV+d/qDULh3wRije5UbCS94jqNB wJB+pCT74TwaeSFPoq86zOmfN0rNUNVPGSxFKeKSRZNwMRhEL7Wru5hxpXxLtfjBRYmnvv uB7mDsq1FkOvMa1J8pdOfeBwUHYt9V8XBwx6mGdZoK+YYUnRuF/Cq96++H1jdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1701275893; a=rsa-sha256; cv=none; b=xn2zFMOaHYpiApQ0ROHIyNBlhEAbwWQJUz8JHKtfpLpkdpD9av40raor52Qz/haNhY6+2q TEtnxrys40lBWPF95gZPexVX4x2IQ8zmIyHAvipmGHSWtX0gn+K2HX87gJ5XeS6NQrZoG+ iOwF8HcmzqbEpwd8JXWtE8OdPPcZbl8ReS0UQ7GvSMVbOmp/TuTeW2xIlhRIhao9acnFH0 W2oRlZxRtcPihfRRK7+oUovKDC2ri3/5JAV1aIdnkIgFqx5qfsfGfzRD+XE/sd7rNnwNke 7EXJUh3NYMy3ld30sEBex7QuyEPzHzva9cSA6Sy1o3VFuzDD9T1HtdiiVsr9IA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SgQ4542QDz1CZx; Wed, 29 Nov 2023 16:38:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3ATGcDK8045241; Wed, 29 Nov 2023 16:38:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3ATGcDR7045238; Wed, 29 Nov 2023 16:38:13 GMT (envelope-from git) Date: Wed, 29 Nov 2023 16:38:13 GMT Message-Id: <202311291638.3ATGcDR7045238@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: b34e41e26b5f - stable/13 - net80211: mark argument to scan_curchan_task() __unused 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: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: b34e41e26b5f88bbb16a22cdd25fad80b47a4018 Auto-Submitted: auto-generated The branch stable/13 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=b34e41e26b5f88bbb16a22cdd25fad80b47a4018 commit b34e41e26b5f88bbb16a22cdd25fad80b47a4018 Author: Bjoern A. Zeeb AuthorDate: 2023-09-14 17:34:01 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-11-29 16:36:06 +0000 net80211: mark argument to scan_curchan_task() __unused Mostly as documentation mark an unused argument to scan_curchan_task() as __unused. We may possibly want to check all callers in the future and see if the argument was supposed to be useful or should be entirely removed. Sponsored by: The FreeBSD Foundation (cherry picked from commit 778da03b1271f52051620ec9b053524727961c9e) --- sys/net80211/ieee80211_scan_sw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net80211/ieee80211_scan_sw.c b/sys/net80211/ieee80211_scan_sw.c index 3a29a784f36b..60e9a635b94d 100644 --- a/sys/net80211/ieee80211_scan_sw.c +++ b/sys/net80211/ieee80211_scan_sw.c @@ -673,7 +673,7 @@ scan_start(void *arg, int pending) } static void -scan_curchan_task(void *arg, int pending) +scan_curchan_task(void *arg, int pending __unused) { struct ieee80211_scan_state *ss = arg; struct scan_state *ss_priv = SCAN_PRIVATE(ss);