From nobody Wed Oct 04 15:23:40 2023 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 4S0z3w6VRlz4w6dk; Wed, 4 Oct 2023 15:23:40 +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 4S0z3w5hysz4MpV; Wed, 4 Oct 2023 15:23:40 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696433020; 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=cOM0k4kV4SvhZmqk7gObb3Kv6iv+MMZ2EtW4wIG2uMc=; b=lMVZU1piDiu6huzBXNZvfek/nOO9VIrEoEz8O4APkuCnt6+oE9gsHXpjkqWsoJBxeVmowN 7joeAHbGfeCTTfu+7E7LfmpEOx0bxwqUw/wFbaRdfJ+e8grN+0FWmZsV7LmgXOVfcdpMzz SD7arOwVmzfL9xO0FMfdeEr6xrsRB55FmwJurh3C1TwYITC9feLScHy5oV6+U86zQW8W53 sl5VVAXthJd415G1IWJ2az6hyvThzHuHgPI/yOBDrvEET4OWqXUI0SF32Y3ypyt8gm9W/U 61z9HKeYq8e1JJSEEJE6YgYMQU7t+954qlpEyxcya1s/RlONzV9T2RnHsYVYBA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696433020; a=rsa-sha256; cv=none; b=SjxKEgev2zNP+fo1HVhoSMRJENFFqVB8btFsF+Drt2wnKZiq/V/ESP185GeehyuOkVjwqI KIhQ+MhV1kZbPeMmuVCgo40X/6sf+dYPadSYsBtMtky+vDJHni5m/AhiiF0M+we9+PexVV 1n4f8rqJEkZwYTBOf/LrbmkdUf/A3l9A7TdpOiRz4UC0DyvYg2pd/5JuoimLqiQF5BPsmS 1ySaMd43pAb/5qV52DXNyxBL3tKDvu2/y1k2vzredc//DrXkeJBXtBrJ2kaNKUhFCB3UG2 Q3JE6haz/Vmof6R1gPznn7iXsDu+D3PET0B6iUO4lIuHSODTQK1yClXS0f0tRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696433020; 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=cOM0k4kV4SvhZmqk7gObb3Kv6iv+MMZ2EtW4wIG2uMc=; b=jxQaERitG14LeKfIFYkuHPjzV07izpX9/LNnlCwK8khhO5yGpRvxQcPuILjEshjtm3and8 X3bzw7YYScQCWLlCC2Mk8ilUPjgtO2BAxHJwyp7Zu4JhPebrtG3jmUjqKnsMHGQ2j2r3fT 0D/LcaDa3HYpcnEAiy8+L1BsYEgMC35Q3QS+0J4g+SARsaz2MH6Q0l/I2LLLAl4GB4NKaY huLjQCoI9Q26k/ycavQKANeRWHI4yzbCHwLianUXyLWwRckYayYm/IYewh+Kr9D6gVuNS3 pNmH198sDtihyMpm2jg5pdQVK0is2iSLHRstQpKd/XGWCHVCXBZmWkaONYVdTQ== 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 4S0z3w4kf6zjSP; Wed, 4 Oct 2023 15:23:40 +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 394FNe9i086749; Wed, 4 Oct 2023 15:23:40 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 394FNemi086746; Wed, 4 Oct 2023 15:23:40 GMT (envelope-from git) Date: Wed, 4 Oct 2023 15:23:40 GMT Message-Id: <202310041523.394FNemi086746@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: 32d951c53f44 - stable/14 - net80211: mark argument to scan_curchan_task() __unused 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/14 X-Git-Reftype: branch X-Git-Commit: 32d951c53f443a4b7533b5f5099d464fa38f19a8 Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=32d951c53f443a4b7533b5f5099d464fa38f19a8 commit 32d951c53f443a4b7533b5f5099d464fa38f19a8 Author: Bjoern A. Zeeb AuthorDate: 2023-09-14 17:34:01 +0000 Commit: Bjoern A. Zeeb CommitDate: 2023-10-04 15:19:17 +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 ac97b7c14cbc..0aaa80a6c48d 100644 --- a/sys/net80211/ieee80211_scan_sw.c +++ b/sys/net80211/ieee80211_scan_sw.c @@ -674,7 +674,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);