aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2023-09-14 17:34:01 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2023-11-29 16:36:06 +0000
commitb34e41e26b5f88bbb16a22cdd25fad80b47a4018 (patch)
treef4d2a8e5cd785d9c30f8ebe515f9361a240af8b3
parent7d558c429f743204682f506b6c5970b63bf48c64 (diff)
downloadsrc-b34e41e26b5f88bbb16a22cdd25fad80b47a4018.tar.gz
src-b34e41e26b5f88bbb16a22cdd25fad80b47a4018.zip
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)
-rw-r--r--sys/net80211/ieee80211_scan_sw.c2
1 files changed, 1 insertions, 1 deletions
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);