git: 32d951c53f44 - stable/14 - net80211: mark argument to scan_curchan_task() __unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Oct 2023 15:23:40 UTC
The branch stable/14 has been updated by bz:
URL: https://cgit.FreeBSD.org/src/commit/?id=32d951c53f443a4b7533b5f5099d464fa38f19a8
commit 32d951c53f443a4b7533b5f5099d464fa38f19a8
Author: Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-09-14 17:34:01 +0000
Commit: Bjoern A. Zeeb <bz@FreeBSD.org>
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);